JDK-8190891 : Clean up G1 barrier code in compiler interface (ci)
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-11-08
  • Updated: 2017-12-01
  • Resolved: 2017-11-14
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 b34Fixed
Related Reports
Duplicate :  
Description
There are ensure_metadata_alive calls for various weak metadata accesses within the ci, which may or may not be the complete set.  Move the gc barrier code to ciInstanceKlass creation.  This will keep classes from being unloaded for metadata that is a weak root.  Also move the anonymous case special case to the same code so it's all in the same place.