README

Wed, 19 Oct 2016 15:22:23 +0800

author
aoqi
date
Wed, 19 Oct 2016 15:22:23 +0800
changeset 137
569333e03a95
parent 0
f90c822e73f8
permissions
-rw-r--r--

#4659 C2: Fixed a performance bug, causing many unlock operations to go through slow path.
ObjectMonitor::owner_offset_in_bytes is a pointer to owning thread.

$ stress -c 100 -i 10
$ time java SSLEngineDeadlock
Before the patch:
real 0m29.566s
user 0m38.156s
sys 0m1.590s

After the patch:
real 0m26.213s
user 0m34.996s
sys 0m1.668s

The improvement is nearly 13%.

     1 README:
     2   This file should be located at the top of the hotspot Mercurial repository.
     4   See http://openjdk.java.net/ for more information about the OpenJDK.
     6   See ../README-builds.html for complete details on build machine requirements.
     8 Simple Build Instructions:
    10     cd make && gnumake
    12   The files that will be imported into the jdk build will be in the "build"
    13   directory.

mercurial