JDK-8217325 : Enable inlining of java_lang_Class::oop_size_raw
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 12,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-17
  • Updated: 2019-10-08
  • Resolved: 2019-01-18
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 13
13 b05Fixed
Related Reports
Relates :  
Description
InstanceMirrorKlass::oop_size can be used heavily by GC. It delegates to java_lang_Class::oop_size_raw, which is a trivial method that unfortunately isn't inlined. Inlining is a net win on binary size and reduces time spent executing InstanceMirrorKlass::oop_size by a third when profiling. 
Comments
Removed jdk11u-fix labes for the time being because backport of JDK-8206457 is on hold.
16-09-2019

Fix Request (11u) This is the follow-up for JDK-8206457 backport. The patch applies cleanly to 11u, passes tier1, tier2 tests.
25-06-2019

java_lang_Class::oop_size_raw is introduced in JDK-8206457, which is not yet backported. Linking.
19-06-2019