Integrated: 8253453: SourceFileInfoTable should be allocated lazily

Claes Redestad redestad at openjdk.java.net
Mon Oct 19 10:54:15 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`

This pull request has now been integrated.

Changeset: e9be2db7
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e9be2db7
Stats:     12 lines in 1 file changed: 7 ins; 0 del; 5 mod

8253453: SourceFileInfoTable should be allocated lazily

Reviewed-by: neliasso, chagedorn

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

PR: https://git.openjdk.java.net/jdk/pull/724


More information about the hotspot-compiler-dev mailing list