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

Thomas Stuefe stuefe at openjdk.java.net
Fri Feb 11 05:38:18 UTC 2022


On Thu, 10 Feb 2022 16:14:39 GMT, Nils Eliasson <neliasso 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!

Thanks @neliasso and @vnkozlov

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

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


More information about the hotspot-compiler-dev mailing list