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

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Nov 25 17:44:30 UTC 2015

>> 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"?
In reported case, there were no HandleMark allocated in GC code. But 
instead of adding one, I decided to avoid Handle-based verification 
logic. DependencyContext itself doesn't use any handles, so requiring 
one just for verification purposes is not convenient IMO.

Best regards,
Vladimir Ivanov

More information about the hotspot-compiler-dev mailing list