RFR: 8253453: SourceFileInfoTable should be allocated lazily
Claes Redestad
redestad at openjdk.java.net
Sun Oct 18 17:03:13 UTC 2020
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`
-------------
Commit messages:
- Allocate SourceFileInfoTable into C_HEAP
- Lazily allocate SourceFileInfoTable in disassembler
Changes: https://git.openjdk.java.net/jdk/pull/724/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=724&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8253453
Stats: 12 lines in 1 file changed: 7 ins; 0 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/724.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/724/head:pull/724
PR: https://git.openjdk.java.net/jdk/pull/724
More information about the hotspot-compiler-dev
mailing list