RFR: JDK-8304884: Update Bytecodes data to be mostly compile time constants [v3]
Justin King
jcking at openjdk.org
Fri Mar 24 23:04:12 UTC 2023
> Change uses a few tricks to make most of the data in Bytecodes compile time constant, avoiding the overhead during VM initialization. `Bytecodes:_flags` likely can be made compile time constant as well using `constexpr` tricks, but that is out of scope for this specific PR.
Justin King has updated the pull request incrementally with two additional commits since the last revision:
- Replace XX with def and add _DO suffix
Signed-off-by: Justin King <jcking at google.com>
- Fix compiler warnings
Signed-off-by: Justin King <jcking at google.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13179/files
- new: https://git.openjdk.org/jdk/pull/13179/files/d1a8dbd1..cf71fcdd
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13179&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13179&range=01-02
Stats: 266 lines in 1 file changed: 0 ins; 0 del; 266 mod
Patch: https://git.openjdk.org/jdk/pull/13179.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13179/head:pull/13179
PR: https://git.openjdk.org/jdk/pull/13179
More information about the hotspot-runtime-dev
mailing list