On 02/10/2015 07:10 AM, Staffan Larsen wrote:
To clarify: The restriction in jtreg is that all tests are loaded in separate 
class loaders (when running in samevm mode). A native library can only be 
loaded in one class loader at a time. So if two tests tries to load the same 
library we get errors. It would be possible to change this if samevm mode is 
removed from jtreg.

/Staffan

Staffan,

The restriction to use separate class loaders exists in agentvm mode as well. I don't think it would be advisable to change this, partly because different tests may define the same class, and partly because you want to be able to get rid of classes that are no longer required.

-- Jon

Reply via email to