RFR: 8357402: Crash in AdapterHandlerLibrary::lookup
Vladimir Kozlov
kvn at openjdk.org
Thu May 22 18:39:53 UTC 2025
On Thu, 22 May 2025 17:56:00 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> So looks like `!AOTCodeCache::is_dumping_adapter()` and `AOTCodeCache::is_using_adapter()` are not complementary then, right? This is what gets us into the problem?
They are complementary when AOT Code Cache is alive. They both check `bool is_on() { return _cache != nullptr && !_cache->closing(); }`. So when the cache is closed after dumping during assembly phase both `is_*()` will return `false`.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25398#issuecomment-2902209714
More information about the hotspot-dev
mailing list