-
Enhancement
-
Resolution: Fixed
-
P4
-
11, 17, 18, 19
-
b17
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8306857 | 17.0.8 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
While looking at startup/warmup benchmarks for VarHandles, I noticed that G1BarrierSet::enqueue is not inlined and quite hot. Its uses also load the oop first, and then check if queues are active. This could be improved a bit.
This only matters for the barrier paths that VM takes, which is the case for java.lang.invoke VM infra.
This only matters for the barrier paths that VM takes, which is the case for java.lang.invoke VM infra.
- backported by
-
JDK-8306857 G1: Improve G1BarrierSet::enqueue performance
- Resolved