JDK-8220420 : Cleanup c1_LinearScan
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-03-11
  • Updated: 2022-02-06
  • Resolved: 2019-03-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 11 JDK 13
11.0.10-oracleFixed 13 b12Fixed
Description
c1_LinearScan has a few minor inefficiencies, e.g., a couple of GrowableLists that are only conditionally used are allocated eagerly, there are several unused methods etc. 

A cleanup reduces static footprint and time spent creating Intervals etc. 
Comments
Fix Request (11u) This is a pre-requisite for clean backport of JDK-8249603. Patch applies cleanly to 11u, passes tier{1,2}.
09-09-2020

Backported this to JDK 11u as prerequisite for JDK-8249603.
08-09-2020

URL: http://hg.openjdk.java.net/jdk/jdk/rev/17a6681a5118 User: redestad Date: 2019-03-11 17:31:25 +0000
11-03-2019