You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "nikhiln64 (via GitHub)" <gi...@apache.org> on 2026/07/15 01:56:24 UTC

Re: [I] DynamicProjectClassLoader does not call registerAsParallelCapable() [incubator-kie-drools]

nikhiln64 commented on issue #6758:
URL: https://github.com/apache/incubator-kie-drools/issues/6758#issuecomment-4976098097

   I'd like to work on this. Verified in source: ProjectClassLoader registers as parallel-capable, but the concrete subclasses (DynamicProjectClassLoader, its IBM variant, and StaticProjectClassLoader) don't - and the JVM requires every loader in the hierarchy to register, so getClassLoadingLock falls back to coarse per-instance locking and class loading serializes. Plan: add the registration to the three subclasses, audit the synchronized defineType/defineClass paths that parallel loading exposes, and add a multi-threaded loading test. Will open a PR titled [incubator-kie-drools-6758] unless someone's already on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org