RFR 8217846: [Graal] vmTestbase/nsk/jdi/VirtualMachine/instanceCounts/instancecounts003/instancecounts003.java crash
Lois Foltan
lois.foltan at oracle.com
Tue May 7 19:27:51 UTC 2019
On 5/7/2019 1:05 PM, Harold Seigel wrote:
> Hi,
>
> Please review this fix for JDK-8217846. The fix adds array classes to
> their classLoaderData list after creating the class's mirror because
> if mirror creation fails (perhaps because of an OOME) then the class
> should not be added to its classLoaderData list.
>
> Open Webrev: http://cr.openjdk.java.net/~hseigel/bug_8217846/webrev/
>
> JBS Bug: https://bugs.openjdk.java.net/browse/JDK-8217846
>
> The fix was tested by running the test over 1000 times.
>
> The fix was regression tested by running Mach5 tiers 1 and 2 tests and
> builds on Linux-x64, Solaris, Windows, and Mac OS X and by running
> Mach5 tiers 3-7 tests on Linux-x64.
>
> Thanks, Harold
>
Hi Harold,
This looks good. Would you consider moving the code to add the array
class to the its class loader list into
ArrayKlass::complete_create_array_klass as the last step, post mirror
creation?
Thanks,
Lois
More information about the hotspot-runtime-dev
mailing list