JDK-8285961 : vmTestbase/gc/gctests/PhantomReference/phantom002/TestDescription.java failed with OutOfMemoryError
  • Type: Bug
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: repo-loom
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2022-04-30
  • Updated: 2022-06-07
  • Resolved: 2022-06-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19Resolved
Related Reports
Duplicate :  
Description
One sighting so far, on Windows with a fastdebug build and ZGC:

:
T:49 I:40 05:53:24.064643800: Terminated: char
T:39 I:38 05:53:24.064643800: Terminated: int
T:57 I:42 05:53:24.064643800: Terminated: double
No unexpected exceptions/errors are thrown
----------System.err:(15/882)----------
Exception in thread "Reference Handler" java.lang.OutOfMemoryError: Java heap space
nsk.share.TestFailure: Test exit code: 97
	at nsk.share.test.Tests$TestRunner.execute(Tests.java:90)
	at nsk.share.test.Tests$TestRunner.run(Tests.java:96)
	at nsk.share.gc.GC.runTest(GC.java:114)
	at gc.gctests.PhantomReference.phantom001.phantom001.main(phantom001.java:93)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
	at java.base/java.lang.Thread.run(Thread.java:1584)

JavaTest Message: Test threw exception: nsk.share.TestFailure: Test exit code: 97
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: nsk.share.TestFailure: Test exit code: 97