Re: RFR: 8331087: Move immutable nmethod data from CodeCache [v2]

2024-04-28 Thread Vladimir Kozlov
On Sun, 28 Apr 2024 23:37:22 GMT, Vladimir Kozlov wrote: >> Move immutable nmethod's data from CodeCache to C heap. It includes >> `dependencies, nul_chk_table, handler_table, scopes_pcs, scopes_data, >> speculations, jvmci_data`. It amounts for about 30% (optimized VM) of space >> in

Re: RFR: 8331087: Move immutable nmethod data from CodeCache [v2]

2024-04-28 Thread Vladimir Kozlov
> Move immutable nmethod's data from CodeCache to C heap. It includes > `dependencies, nul_chk_table, handler_table, scopes_pcs, scopes_data, > speculations, jvmci_data`. It amounts for about 30% (optimized VM) of space > in CodeCache. > > Use HotSpot's `os::malloc()` to allocate memory in C

Re: RFR: 8226919: attach in linux hangs due to permission denied accessing /proc/pid/root

2024-04-28 Thread Sebastian Lövdahl
On Fri, 1 Mar 2024 15:22:51 GMT, jdoylei wrote: >> Logged https://bugs.openjdk.org/browse/JDK-8327114 for investigation. >> Thanks @jdoylei ! > > @kevinjwalls - Perfect, thank you for opening the JBS bug! Thanks for the detailed write-up, @jdoylei! I'm sorry to have introduced a regression

8327114: Attach in Linux may have wrong behaviour when pid == ns_pid (Kubernetes debug container)

2024-04-28 Thread Sebastian Lövdahl
Hi all, It seems like my fix for https://bugs.openjdk.org/browse/JDK-8226919 regressed one use-case for Kubernetes debug containers (and other technically similar approaches). Quoting @jdoylei from https://github.com/openjdk/jdk/pull/17628#issuecomment-1969769654: "We're running jcmd

Re: RFR: 8331087: Move immutable nmethod data from CodeCache

2024-04-28 Thread Doug Simon
On Sun, 28 Apr 2024 07:02:40 GMT, Dean Long wrote: >> Move immutable nmethod's data from CodeCache to C heap. It includes >> `dependencies, nul_chk_table, handler_table, scopes_pcs, scopes_data, >> speculations, jvmci_data`. It amounts for about 30% (optimized VM) of space >> in CodeCache. >>

Re: RFR: 8331087: Move immutable nmethod data from CodeCache

2024-04-28 Thread Dean Long
On Fri, 26 Apr 2024 21:16:03 GMT, Vladimir Kozlov wrote: > Move immutable nmethod's data from CodeCache to C heap. It includes > `dependencies, nul_chk_table, handler_table, scopes_pcs, scopes_data, > speculations, jvmci_data`. It amounts for about 30% (optimized VM) of space > in CodeCache.