RFR: 8368693: Duplicate methods in vmClasses
Chen Liang
liach at openjdk.org
Thu Sep 25 21:37:00 UTC 2025
On Thu, 25 Sep 2025 21:00:22 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
> This patch removes some duplicate methods that check if a class is loaded in vmClasses. These methods are already present in the class (generated by the `_VM_CLASS_DECLARE` macro).
src/hotspot/share/memory/universe.cpp line 507:
> 505: // ordinary object arrays, _objectArrayKlass will be loaded when
> 506: // SystemDictionary::initialize(CHECK); is run. See the extra check
> 507: // for Object_klass_is_loaded in objArrayKlassKlass::allocate_objArray_klass_impl.
Should this comment update the outdated reference to be:
Suggestion:
// for Object_klass_is_loaded in ObjArrayKlass::allocate_objArray_klass.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27503#discussion_r2380378763
More information about the hotspot-dev
mailing list