RFR: 8329135: Store Universe::*exception_instance() in CDS archive
Vladimir Ivanov
vlivanov at openjdk.org
Fri Mar 29 18:11:32 UTC 2024
On Fri, 29 Mar 2024 16:53:56 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> This is a preparation step for the AOT compiler in the Leyden project. The exception options are frequently accessed by compiled code. Having them inside the CDS archive will allow the AOT to generate smaller/better code.
Looks good.
src/hotspot/share/memory/universe.cpp line 167:
> 165: CollectedHeap* Universe::_collectedHeap = nullptr;
> 166:
> 167: // These are the exceptions that are always created and are guatanteed to exist.
s/guatanteed/guaranteed/
-------------
Marked as reviewed by vlivanov (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18551#pullrequestreview-1969238567
PR Review Comment: https://git.openjdk.org/jdk/pull/18551#discussion_r1544742300
More information about the hotspot-runtime-dev
mailing list