RFR: 8330181: Move PcDesc cache from nmethod header
Vladimir Kozlov
kvn at openjdk.org
Tue Apr 23 04:12:28 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.
Looks like I have to test up to tier8 where [JDK-8316392](https://bugs.openjdk.org/browse/JDK-8316392) failed.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18895#issuecomment-2071370693
More information about the hotspot-compiler-dev
mailing list