Integrated: JDK-8304884: Update Bytecodes data to be mostly compile time constants

Justin King jcking at openjdk.org
Tue Mar 28 14:20:17 UTC 2023


On Fri, 24 Mar 2023 16:14:50 GMT, Justin King <jcking at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 32ef4521
Author:    Justin King <jcking at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/32ef45213223d689afdc307e96468b3621171a26
Stats:     591 lines in 2 files changed: 299 ins; 263 del; 29 mod

8304884: Update Bytecodes data to be mostly compile time constants

Reviewed-by: coleenp, dholmes

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

PR: https://git.openjdk.org/jdk/pull/13179


More information about the hotspot-runtime-dev mailing list