RFR (XS) 8222468: [TESTBUG] vmTestbase/metaspace/flags/maxMetaspaceSize/TestDescription.java fails with java.lang.NoClassDefFoundError

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Mon Jun 3 23:47:09 UTC 2019



On 6/3/19 6:42 PM, David Holmes wrote:
> Hi Coleen,
>
> On 4/06/2019 8:06 am, coleen.phillimore at oracle.com wrote:
>> Summary: Preload StackTraceElement$HashedModules in test.
>
> Looks good.

Thanks!
>
> I wonder if a test like this should run with exception logging enabled 
> so that we can actually see what went wrong? The inability to load 
> StackTraceElement$HashedModules meant we couldn't get any stacktraces 
> to diagnose the failure.

That would have been a useful way to debug this test.  I don't think it 
should be added though since the test shouldn't fail again.

thanks,
Coleen

>
> Thanks,
> David
>
>> Ran test 200x with fix, usually fails 6-10 times without.  Running 
>> sanity tier1 tests now.
>>
>> open webrev at 
>> http://cr.openjdk.java.net/~coleenp/2019/8222468.01/webrev
>> bug link https://bugs.openjdk.java.net/browse/JDK-8222468
>>
>> Thanks,
>> Coleen
>>



More information about the hotspot-runtime-dev mailing list