[9] RFR (XS): 8144024: Octane fails with "memory leak: allocating handle outside HandleMark"

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Nov 25 13:45:29 UTC 2015


DependencyContext verification is broken because it can't always 
allocate a handle for context holder in appropriate handle area.

Since the intention is to guarantee that the holder can't be relocated 
during GC (for CallSiteContext case), the fix is to ensure no safepoints 
happened during DependencyContext lifetime. It is done by ensuring 
SafepointSynchronize::_safepoint_counter stays the same.

Testing: failed test, jprt


Best regards,
Vladimir Ivanov

More information about the hotspot-compiler-dev mailing list