-
Bug
-
Resolution: Fixed
-
P4
-
21, 22, 23
-
b15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8328712 | 22.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b02 |
JDK-8329159 | 21.0.4-oracle | Tobias Hartmann | P4 | Resolved | Fixed | b01 |
JDK-8328476 | 21.0.4 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
$ time CONF=linux-x86_64-server-fastdebug make test TEST="applications/ctw/modules/java_base.java"
real 26m13s
user 71m22s
sys 185m55s
For comparison, the same run in current 17u-dev does it in:
real 2m24s
user 7m32s
sys 0m18s
A brief profiling shows the code spends lot of time spinning for deoptimization here: https://github.com/openjdk/jdk/blob/1358850aa63a2874031ca33eba278432fd09d6ab/src/hotspot/share/runtime/deoptimization.cpp#L193-L195 -- code added by
$ time CONF=linux-x86_64-server-fastdebug make test TEST="applications/ctw/modules/java_base.java" TEST_VM_OPTS="-XX:ActiveProcessorCount=1"
real 31m42s
user 32m31s
sys 0m17s
If we cannot figure out if
Note that "real" time is still bad. It might have some relation to
- backported by
-
JDK-8328476 CTW: Stale method cleanup requires GC after Sweeper removal
- Resolved
-
JDK-8328712 CTW: Stale method cleanup requires GC after Sweeper removal
- Resolved
-
JDK-8329159 CTW: Stale method cleanup requires GC after Sweeper removal
- Resolved
- relates to
-
JDK-8300926 Several startup regressions ~6-70% in 21-b6 all platforms
- Closed
-
JDK-8238247 CTW runner should sweep nmethods more aggressively
- Resolved
-
JDK-8290025 Remove the Sweeper
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/9e1840f9
-
Commit openjdk/jdk22u/5ff2b5df
-
Commit openjdk/jdk/1281e18f
-
Review openjdk/jdk21u-dev/370
-
Review openjdk/jdk22u/104
-
Review openjdk/jdk/18249