Integrated: 8266017: Refactor the *klass::array_klass_impl code to separate the non-exception-throwing API

David Holmes dholmes at openjdk.java.net
Wed Apr 28 20:55:52 UTC 2021


On Tue, 27 Apr 2021 04:47:32 GMT, David Holmes <dholmes at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 23180f84
Author:    David Holmes <dholmes at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/23180f848f068434d018b741db6f34cd4b6da55d
Stats:     134 lines in 8 files changed: 63 ins; 49 del; 22 mod

8266017: Refactor the *klass::array_klass_impl code to separate the non-exception-throwing API

Reviewed-by: coleenp, iklam

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

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


More information about the hotspot-runtime-dev mailing list