[lworld] RFR: 8283573: [lworld] Make Object an abstract class
Frederic Parain
fparain at openjdk.java.net
Fri Mar 25 14:16:09 UTC 2022
On Fri, 25 Mar 2022 13:59:30 GMT, David Simms <dsimms at openjdk.org> wrote:
> The pattern:
>
> `if (ik == vmClasses::Object_klass() && vmClasses::Object_klass()->is_abstract()) { ik = vmClasses::Identity_klass(); }`
>
> Keep repeating itself, could this be an inline method somewhere, maybe `valhalla_check_replace_object_identity()` (i.e. self documenting)
A single method would not be possible, because some tests are using Klass* while others are using ciKlass*.
-------------
PR: https://git.openjdk.java.net/valhalla/pull/602
More information about the valhalla-dev
mailing list