Stack walking performance issue
Aleksey Shipilev
shade at redhat.com
Mon Mar 18 21:53:55 UTC 2019
On 3/18/19 10:32 PM, Amir Hadadi wrote:
> If anyone is willing to build an Open JDK with this fix I can give it a spin.
I think you'd want to build the OpenJDK on your target system, that would avoid compatibility woes
(for example, glibc and other library dependencies). Short example:
$ hg clone http://hg.openjdk.java.net/jdk-updates/jdk11u zgc-jdk11u
$ cd zgc-jdk11u
$ ./configure # this might fail the first time, install dependencies, etc
$ make images
<should complete fine>
Add call to ResolvedMethodTable::unlink() to ZHeap::mark_end. You'd probably need to include
prims/resolvedMethodTable.hpp too.
$ make images
$ build/linux-x86_64-normal-server-release/images/jdk/bin/java
-Aleksey
More information about the zgc-dev
mailing list