.hgtags

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

author
aoqi
date
Wed, 19 Oct 2016 15:22:23 +0800
changeset 137
569333e03a95
parent 24
d2be62fdfa50
child 412
afd17487af23
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 f90c822e73f8f30ebfc930bdffc6263a99aec49f jdk8u25-b17
     2 2d8a650513c2c3e6717fcbfe5d4f12abee5ff96b mips64-jdk8u25-b17-rc1
     3 afa196fe1bf669c34fe9acb7ebb31aabc8f0437a mips64-jdk8u25-b17-rc2

mercurial