RFR: 8266017: Refactor the *klass::array_klass_impl code to separate the non-exception-throwing API
David Holmes
dholmes at openjdk.java.net
Tue Apr 27 05:01:11 UTC 2021
We currently have array_klass() and array_klass_or_null(), where the former can throw exceptions and the latter can not. But they both delegate to:
array_klass_impl(bool or_null, TRAPS)
which combines both the exception-throwing and non-exception-throwing code into one method declared with TRAPS. To make progress with the change of TRAPS to JavaThread (JDK-8252685) we need to separate these code paths into distinct methods.
Testing: tiers 1-3 (in progress)
Thanks,
David
-------------
Commit messages:
- 8266017: Refactor the *klass::array_klass_impl code to separate the non-exception-throwing API
Changes: https://git.openjdk.java.net/jdk/pull/3711/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3711&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8266017
Stats: 113 lines in 8 files changed: 69 ins; 21 del; 23 mod
Patch: https://git.openjdk.java.net/jdk/pull/3711.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3711/head:pull/3711
PR: https://git.openjdk.java.net/jdk/pull/3711
More information about the hotspot-dev
mailing list