< prev index next > src/hotspot/share/memory/universe.hpp
Print this page
/*
- * Copyright (c) 1997, 2025, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
friend void universe_post_module_init();
private:
// Known classes in the VM
static TypeArrayKlass* _typeArrayKlasses[T_LONG+1];
- static ObjArrayKlass* _objectArrayKlass;
+ static RefArrayKlass* _objectArrayKlass;
// Special int-Array that represents filler objects that are used by GC to overwrite
// dead objects. References to them are generally an error.
static Klass* _fillerArrayKlass;
// Known objects in the VM
static bool _bootstrapping; // true during genesis
static bool _module_initialized; // true after call_initPhase2 called
static bool _fully_initialized; // true after universe_init and initialize_vtables called
// the array of preallocated errors with backtraces
- static objArrayOop preallocated_out_of_memory_errors();
+ static refArrayOop preallocated_out_of_memory_errors();
- static objArrayOop out_of_memory_errors();
+ static refArrayOop out_of_memory_errors();
// generate an out of memory error; if possible using an error with preallocated backtrace;
// otherwise return the given default error.
static oop gen_out_of_memory_error(oop default_err);
static OopStorage* _vm_weak;
static TypeArrayKlass* shortArrayKlass() { return typeArrayKlass(T_SHORT); }
static TypeArrayKlass* longArrayKlass() { return typeArrayKlass(T_LONG); }
static TypeArrayKlass* floatArrayKlass() { return typeArrayKlass(T_FLOAT); }
static TypeArrayKlass* doubleArrayKlass() { return typeArrayKlass(T_DOUBLE); }
- static ObjArrayKlass* objectArrayKlass() {
- ObjArrayKlass* k = _objectArrayKlass;
+ static RefArrayKlass* objectArrayKlass() {
+ RefArrayKlass* k = _objectArrayKlass;
assert(k != nullptr, "Object array klass should be initialized; too early?");
return k;
}
static Klass* fillerArrayKlass() {
static Method* loader_addClass_method();
static Method* throw_illegal_access_error();
static Method* throw_no_such_method_error();
static Method* do_stack_walk_method();
+ static Method* is_substitutable_method();
+ static Method* value_object_hash_code_method();
+
static oop the_null_sentinel();
static address the_null_sentinel_addr() { return (address) &_the_null_sentinel; }
// Function to initialize these
static void initialize_known_methods(JavaThread* current);
< prev index next >