src/hotspot/share/oops/objArrayKlass.hpp
changeset 53152 08db5aa02f7b
parent 52119 88916200bdd7
child 53244 9807daeb47c4
equal deleted inserted replaced
53151:22baf8054a40 53152:08db5aa02f7b
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    68 
    68 
    69   // Dispatched operation
    69   // Dispatched operation
    70   bool can_be_primary_super_slow() const;
    70   bool can_be_primary_super_slow() const;
    71   GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots,
    71   GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots,
    72                                                   Array<InstanceKlass*>* transitive_interfaces);
    72                                                   Array<InstanceKlass*>* transitive_interfaces);
    73   bool compute_is_subtype_of(Klass* k);
       
    74   DEBUG_ONLY(bool is_objArray_klass_slow()  const  { return true; })
    73   DEBUG_ONLY(bool is_objArray_klass_slow()  const  { return true; })
    75   int oop_size(oop obj) const;
    74   int oop_size(oop obj) const;
    76 
    75 
    77   // Allocation
    76   // Allocation
    78   static Klass* allocate_objArray_klass(ClassLoaderData* loader_data,
    77   static Klass* allocate_objArray_klass(ClassLoaderData* loader_data,