universe.hpp revision 3863
2362N/A * or visit www.oracle.com if you need additional information or have any
395N/A#include "runtime/handles.hpp"
395N/A#include "utilities/growableArray.hpp"
395N/Aclass CollectedHeap;
395N/Aclass DeferredObjAllocEvent;
395N/A int _method_idnum;
395N/Astruct NarrowOopStruct {
395N/Aenum VerifyOption {
395N/A friend class ClassLoader;
395N/A friend class SystemDictionary;
395N/A friend class CompactingPermGenGen;
395N/A friend class VM_PopulateDumpSharedSpace;
395N/A friend void universe2_init();
395N/A friend bool universe_post_init();
395N/A static objArrayOop _the_empty_class_klass_array; // Canonicalized obj array of type java.lang.Class
395N/A static objArrayOop _the_array_interfaces_array; // Canonicalized 2-array of cloneable & serializable klasses
395N/A static LatestMethodOopCache* _finalizer_register_cache; // static method for registering finalizable objects
395N/A static LatestMethodOopCache* _loader_addClass_cache; // method for registering loaded classes in class loader vector
395N/A static oop _out_of_memory_error_gc_overhead_limit; // preallocated error object (no backtrace)
395N/A static objArrayOop preallocated_out_of_memory_errors() { return _preallocated_out_of_memory_error_array; }
395N/A static bool _verify_in_progress;
395N/A static void compute_verify_oop_data();
395N/A return _objectArrayKlassObj;
395N/A return _typeArrayKlassObjs[t];
static oop out_of_memory_error_java_heap() { return gen_out_of_memory_error(_out_of_memory_error_java_heap); }
static oop out_of_memory_error_perm_gen() { return gen_out_of_memory_error(_out_of_memory_error_perm_gen); }
static oop out_of_memory_error_array_size() { return gen_out_of_memory_error(_out_of_memory_error_array_size); }
static oop out_of_memory_error_gc_overhead_limit() { return gen_out_of_memory_error(_out_of_memory_error_gc_overhead_limit); }
static void set_narrow_oop_use_implicit_null_checks(bool use) { _narrow_oop._use_implicit_null_checks = use; }
enum NARROW_OOP_MODE {
UnscaledNarrowOop = 0,
static size_t get_heap_free_at_last_gc() { return _heap_capacity_at_last_gc - _heap_used_at_last_gc; }
static void update_heap_info_at_gc();
static void run_finalizers_on_exit();
static void print();
static void print_heap_at_SIGBREAK();
// The non-oop pattern (see compiledIC.hpp, etc)
static void* non_oop_word();
#ifdef HOTSWAP
_oop = o;
_bytesize = s;