RFR(XXS): 8213707: [TEST] vmTestbase/nsk/stress/except/except011.java failed due to wrong class name

David Holmes david.holmes at oracle.com
Fri Nov 9 22:58:12 UTC 2018

Looks good - thanks for finding and fixing.

I see cases internally where we fail because of this:

Failure: ExceptionInInitializerError: target class not found

but no bug was ever filed. I wonder if we will now fail because of the 
OOME ...


On 10/11/2018 7:43 AM, Zhengyu Gu wrote:
> Please review this trivial fix.
> Currently, only Shenandoah experiences the failure, since other GCs run 
> out Java heap memory, then the rest of test is skipped.
> E.g.
> pool[125131189]=new Object(); // elapsed 10.287s
> pool[126306334]=new Object(); // elapsed 7.947s
> Heap seems exhausted - OutOfMemoryError thrown.
> Skipped: ExceptionInInitializerError: thrown OutOfMemoryError
> Test passed.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8213707
> Webrev: http://cr.openjdk.java.net/~zgu/8213707/webrev.00/
> Thanks,
> -Zhengyu

More information about the hotspot-dev mailing list