Re: RFR: 8319876: Reduce memory consumption of VM_ThreadDump::doit [v3]

2023-11-17 Thread Long Yang
On Mon, 13 Nov 2023 10:11:26 GMT, Long Yang wrote: >> I would like to fix this. >> >> Create 4096 threads, and the stack depth of each thread is 256. >> After running jmx.dumpAllThreads(true, true), the RSS reaches 5.3GiB. >> After optimization, the RSS is 250MiB

Integrated: 8319876: Reduce memory consumption of VM_ThreadDump::doit

2023-11-17 Thread Long Yang
On Fri, 10 Nov 2023 09:13:06 GMT, Long Yang wrote: > I would like to fix this. > > Create 4096 threads, and the stack depth of each thread is 256. > After running jmx.dumpAllThreads(true, true), the RSS reaches 5.3GiB. > After optimization, the RSS is 250MiB. > > I w

Re: RFR: 8319876: Reduce memory consumption of VM_ThreadDump::doit [v3]

2023-11-16 Thread Long Yang
On Fri, 17 Nov 2023 05:57:37 GMT, David Holmes wrote: >> Long Yang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Use VMThread::vm_thread() to avoid the need to call Thread::current() > > Our testing pass

Re: RFR: 8319876: Reduce memory consumption of VM_ThreadDump::doit [v3]

2023-11-16 Thread Long Yang
On Mon, 13 Nov 2023 10:11:26 GMT, Long Yang wrote: >> I would like to fix this. >> >> Create 4096 threads, and the stack depth of each thread is 256. >> After running jmx.dumpAllThreads(true, true), the RSS reaches 5.3GiB. >> After optimization, the RSS is 250MiB

Re: RFR: 8319876: Reduce memory consumption of VM_ThreadDump::doit [v3]

2023-11-15 Thread Long Yang
On Mon, 13 Nov 2023 10:11:26 GMT, Long Yang wrote: >> I would like to fix this. >> >> Create 4096 threads, and the stack depth of each thread is 256. >> After running jmx.dumpAllThreads(true, true), the RSS reaches 5.3GiB. >> After optimization, the RSS is 250MiB