JDK-8278106 : Improve objectID generator for inline fields
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: repo-valhalla
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2021-12-01
  • Updated: 2021-12-01
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.
Other
repo-valhallaUnresolved
Related Reports
Relates :  
Description
inlined fields are dumped as HPROF_GC_INSTANCE_DUMP records and objectID for them are generated by special generator (as we cannot use addresses on the objects). The generator produces sequential numbers (1, 2, 3...)
But number of inlined fields can be huge and generator can produce the numbers which conflict with addresses of heap objects (which are used as IDs for this objects).
All objects in heap are aligned, so we can skip aligned numbers to avoid the conflict.