RFR: 8293170: Improve encoding of the debuginfo nmethod section

Boris Ulasevich bulasevich at openjdk.org
Mon Oct 3 15:09:27 UTC 2022


On Thu, 22 Sep 2022 20:45:58 GMT, Dean Long <dlong at openjdk.org> wrote:

> What is the performance impact of making several of the methods virtual?

Good question! My experiments show that in the worst case, the performance of the debug write thread is reduced by 424->113 MB/s with virtual functions. Compared to compile time, this is miserable: сompilation takes 1000ms per method, while generation of 300 bytes of scopes data with virtual function (worst case) takes 3ms. And I do not see any regression with benchmarks.

-------------

PR: https://git.openjdk.org/jdk/pull/10025


More information about the hotspot-compiler-dev mailing list