JDK-8177059 : [TESTBUG] gc/g1/TestGCLogMessages.java fails on 32bit arm after changes for JDK-8155094
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 10
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-03-17
  • Updated: 2018-06-21
  • Resolved: 2017-03-31
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 10
10 b21Fixed
Related Reports
Relates :  
Description
JDK-8152948 added the following to g1:

#if defined(COMPILER2) || INCLUDE_JVMCI
debug_time("DerivedPointerTable Update", _cur_derived_pointer_table_update_time_ms);
#endif

And the following to gc/g1/TestGCLogMessages.java:

       new LogMessageWithLevel("DerivedPointerTable Update", Level.DEBUG),

And now it fails on 32bit arm (which lacks C2) with:

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: '\\[debug.*DerivedPointerTable Update' missing from stdout/stderr