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

Nils Eliasson neliasso at openjdk.java.net
Thu Feb 10 16:18:11 UTC 2022


On Wed, 9 Feb 2022 08:10:04 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> 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

Looks good!

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

Marked as reviewed by neliasso (Reviewer).

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


More information about the hotspot-compiler-dev mailing list