Integrated: 8330181: Move PcDesc cache from nmethod header
Vladimir Kozlov
kvn at openjdk.org
Thu Apr 25 22:50:42 UTC 2024
On Mon, 22 Apr 2024 16:54:40 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> Currently PcDescCache (32 bytes in 64-bit VM: PcDesc* _pc_descs[4]) is allocated in `nmethod` header.
>
> Moved PcDescContainer (which includes cache) to C heap similar to ExceptionCache to reduce size of `nmethod` header and to remove WXWrite transition when we update the cache in `PcDescCache::add_pc_desc()`.
>
> Removed `PcDescSearch` class which was leftover from `CompiledMethod` days.
>
> Tested tier1-4,stress,xcomp and performance.
This pull request has now been integrated.
Changeset: b3bcc494
Author: Vladimir Kozlov <kvn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b3bcc49491b8f8ad337eb4c06201a5468e5c1159
Stats: 120 lines in 4 files changed: 42 ins; 36 del; 42 mod
8330181: Move PcDesc cache from nmethod header
Reviewed-by: dlong, jrose
-------------
PR: https://git.openjdk.org/jdk/pull/18895
More information about the hotspot-compiler-dev
mailing list