RFR: 8253453: SourceFileInfoTable should be allocated lazily
Christian Hagedorn
chagedorn at openjdk.java.net
Mon Oct 19 10:37:10 UTC 2020
On Sun, 18 Oct 2020 16:50:31 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> Avoids allocating and clearing a 128Kb large ResourceHashTable eagerly on startup
>
> It's only used when PrintInterpreter is enabled - which prints out the interpreter during bootstrap - so proper
> synchronization seems excessive.
> Testing: tier1, verified source line comments retained with `-XX:+PrintInterpreter`
Looks good.
-------------
Marked as reviewed by chagedorn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/724
More information about the hotspot-compiler-dev
mailing list