JDK-8249137 : Remove CollectedHeap::obj_size
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-09
  • Updated: 2020-07-16
  • Resolved: 2020-07-13
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 16
16 b06Fixed
Related Reports
Relates :  
Relates :  
Description
It was added by JDK-8211270 to support old-style Shenandoah that needed a separate fwdptr slot. After JDK-8224584 it does not need this anymore. Additionally, CH::obj_size may disagree with other code that pokes at layout helper directly, for example GraphKit::new_instance.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/efc74b005823 User: shade Date: 2020-07-13 05:40:45 +0000
13-07-2020

Moving from hotspot/runtime -> hotspot/gc.
09-07-2020

mach5-one-shade-JDK-8249137-20200709-0554-12494136 seems clean except for failure that looks like JDK-8249079.
09-07-2020

RFR: https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2020-July/040569.html https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2020-July/030331.html
09-07-2020