[8u] RFR for JDK-8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking? to jdk8u-dev
David Holmes
david.holmes at oracle.com
Wed Apr 26 06:38:37 UTC 2017
Hi Shafi,
On 26/04/2017 3:32 PM, Shafi Ahmad wrote:
> Hi,
>
> Please review the backport of bug: "JDK-8168914: Crash in ClassLoaderData/JNIHandleBlock::oops_do during concurrent marking" to jdk8u-dev
>
> Please note that this is not a clean backport due to -
> A) Method remove_handle(jobject h) is not present in jdk8u and looks it is related to module so I haven't merged associated change to jdk8u.
Without remove_handle_unsafe there is no use of "contains" so all of the
code in the block:
138 #ifdef ASSERT
139 class VerifyContainsOopClosure : public OopClosure {
...
167 #endif
is dead code and can be deleted.
Otherwise the backported code looks okay to me.
Thanks,
David
-----
> B) File moduleEntry.cpp is not present in jdk8u repo, so I have ignore its changes.
>
>
> Webrev: http://cr.openjdk.java.net/~shshahma/8168914/webrev.00/
> jdk9 bug: https://bugs.openjdk.java.net/browse/JDK-8168914
> Original patch pushed to jdk9: http://hg.openjdk.java.net/jdk9/hs/hotspot/rev/606c35b6fac5
>
> Test: Run jprt and jtreg is in progress.
>
> Regards,
> Shafi
>
More information about the hotspot-dev
mailing list