JDK-8274430 : Remove some debug error printing code added in JDK-8017163
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 18
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-09-28
  • Updated: 2021-10-18
  • Resolved: 2021-10-11
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 18
18 b19Fixed
Related Reports
Relates :  
Description
JDK-8017163 added some debug code when printing remembered set failures:

[171.616s][1632757560415ms][error][gc,verify      ] GC(129) Missing rem set entry:
[171.616s][1632757560415ms][error][gc,verify      ] GC(129) Field 0x00000007fb1008f0 of obj 0x00000007fb1008d8 in region 1485:(O)[0x00000007fb000000,0x00000
[171.616s][1632757560415ms][error][gc,verify      ] GC(129) NULL card setjava.lang.invoke.MethodType$ConcurrentWeakInternSet$WeakEntry
[...]
points to obj 0x00000004d9abd4c8 in region 683:(S)[0x00000004d9000000,0x00000004da000000,0x00000004da000000] remset Complete



I.e. the above "NULL card set" string which would indicate which card set container does not have the requested remembered set entry. This is unnecessary information, as the "points to obj" string later shows that there should be a remset to this region already.

Noticed once more during investigation of JDK-8274340.
Comments
Changeset: b7af8905 Author: Thomas Schatzl <tschatzl@openjdk.org> Date: 2021-10-11 11:48:50 +0000 URL: https://git.openjdk.java.net/jdk/commit/b7af890574b3c13122fe7de987a8c9458c05f625
11-10-2021