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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Nov 25 17:22:03 UTC 2015


On 11/25/15 5:45 AM, Vladimir Ivanov wrote:
> http://cr.openjdk.java.net/~vlivanov/8144024/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8144024

Looks fine but

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

Can you explain in more details what happened? What is "appropriate handle area"?

Thanks,
Vladimir

>
> 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
>
> Thanks!
>
> Best regards,
> Vladimir Ivanov


More information about the hotspot-compiler-dev mailing list