RFR(S): 8240854: [REDO] some jaotc failures of fastdebug build with specific flags
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Wed Mar 11 14:41:10 UTC 2020
src/hotspot/share/opto/subtypenode.cpp:
+ // Oop can't be a subtype of abstract type that has no subclass.
+ if (sub_t->isa_oopptr() && superk->is_instance_klass() &&
+ !superk->is_interface() && superk->is_abstract() &&
+ !superk->as_instance_klass()->has_subklass()) {
+ return TypeInt::CC_GT;
+ }
Why don't you register the dependency anymore (assert_leaf_type(superk))?
Best regards,
Vladimir Ivanov
On 11.03.2020 15:48, Roland Westrelin wrote:
>
> http://cr.openjdk.java.net/~roland/8240854/
>
> Same as previous fix except the condition is now:
>
> !superk->is_interface() && superk->is_abstract()
>
> because is_abstract() returns true for interfaces.
>
> Roland.
>
More information about the hotspot-compiler-dev
mailing list