RFR: JDK-8281522: Rename ADLC classes which have the same name as hotspot variants

Thomas Stuefe stuefe at openjdk.java.net
Wed Feb 9 11:14:26 UTC 2022


After some prior offlist discussions with Oracle staff, I propose to change the names of some of the adlc classes and functions to avoid name clashes with their hotspot counterparts. This has bugged me for a while since my IDE gets often confused about this when working on hotspot arena code.

This patch prefixes "Arena", "Chunk", "CHeapObj" and "AllStatic", "AllocateHeap", "ReallocateHeap" with "Adl...". The replacement is purely mechanical, no functional change happens here.

Thanks, Thomas

-------------

Commit messages:
 - rename files
 - Fix indentation
 - Fix Copyrights
 - Rename Arena
 - Rename Chunk
 - Rename AllStatic
 - rename CHeapObj
 - rename AllocateHeap, ReAllocateHeap

Changes: https://git.openjdk.java.net/jdk/pull/7400/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7400&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8281522
  Stats: 726 lines in 13 files changed: 346 ins; 346 del; 34 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7400.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7400/head:pull/7400

PR: https://git.openjdk.java.net/jdk/pull/7400


More information about the hotspot-compiler-dev mailing list