RFR: 8354897: Support Soft/Weak Reference in AOT cache [v7]
Zhengyu Gu
zgu at openjdk.org
Wed Apr 30 01:20:46 UTC 2025
On Wed, 30 Apr 2025 00:57:51 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> src/hotspot/share/cds/aotReferenceObjSupport.cpp line 122:
>>
>>> 120: ik->initialize(CHECK);
>>> 121:
>>> 122: TempNewSymbol field_name = SymbolTable::new_symbol("N""ULL");
>>
>> Why "N""ULL", not "NULL"?
>
> That's because a stand-lone word "NULL" will cause hotspot/jtreg/sources/TestNoNULL.java to fail. I have renamed the internal field to NULL_QUEUE to avoid the failure, per recommendation of @kimbarrett
Thank you for the explanation!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24757#discussion_r2067704580
More information about the hotspot-dev
mailing list