RFR: 8293170: Improve encoding of the debuginfo nmethod section
Dean Long
dlong at openjdk.org
Mon Oct 3 20:49:55 UTC 2022
On Mon, 3 Oct 2022 15:04:10 GMT, Boris Ulasevich <bulasevich 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.
I was wondering more about read performance. I would expect that the debuginfo could be read many more times than it is written. Also, from 424 to 113 seems like a very large slowdown.
-------------
PR: https://git.openjdk.org/jdk/pull/10025
More information about the hotspot-compiler-dev
mailing list