RFR: 8329135: Store Universe::*exception_instance() in CDS archive
Calvin Cheung
ccheung at openjdk.org
Fri Mar 29 20:50:31 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.
src/hotspot/share/memory/universe.cpp line 174:
> 172:
> 173: public:
> 174: BuiltinException() : _instance{} {
Is it clearer to do the following?
BuiltinException() {
_instance();
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18551#discussion_r1544857575
More information about the hotspot-runtime-dev
mailing list