8250597: G1: Improve inlining around trim_queue #26
This change improves latency with G1 in some cases and makes trim_queue() code structure closer to current mainline.
The original patch does not apply cleanly in particular because of https://bugs.openjdk.java.net/browse/JDK-8200545 . However the refactoring is rather simple because it is a rearrangement of code between functions with compiler hints. It has been reproduced (short description in the next comment).
The change is isolated and is a set of code moves so the risk is low.
Testing: tier1, tier2 on aarch64 and x86_64 in development, the change has been included in Liberica JDK 11u EA for some time.
As an example of performance improvement, Critical-jOPS on Graviton2 raised +1%:+6.2% for 8GB heap.
The text was updated successfully, but these errors were encountered:
Manually inline deal_with_reference()-s into G1ParScanThreadState::dispatch_reference().
1 similar comment
@dchuyko This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!