universe.hpp revision 3233
0N/A * or visit www.oracle.com if you need additional information or have any
0N/A#ifndef SHARE_VM_MEMORY_UNIVERSE_HPP
0N/A#define SHARE_VM_MEMORY_UNIVERSE_HPP
0N/A#include "runtime/handles.hpp"
0N/A#include "utilities/growableArray.hpp"
0N/Aclass CollectedHeap;
0N/Aclass DeferredObjAllocEvent;
0N/A int _method_idnum;
0N/Astruct NarrowOopStruct {
0N/Aenum VerifyOption {
0N/A VerifyOption_Default = 0,
0N/A friend class ClassLoader;
0N/A friend class SystemDictionary;
0N/A friend class CompactingPermGenGen;
0N/A friend class VM_PopulateDumpSharedSpace;
0N/A friend void universe2_init();
0N/A friend bool universe_post_init();
0N/A static objArrayOop _the_empty_class_klass_array; // Canonicalized obj array of type java.lang.Class
0N/A static objArrayOop _the_array_interfaces_array; // Canonicalized 2-array of cloneable & serializable klasses
0N/A static LatestMethodOopCache* _finalizer_register_cache; // static method for registering finalizable objects
0N/A static LatestMethodOopCache* _loader_addClass_cache; // method for registering loaded classes in class loader vector
0N/A static objArrayOop preallocated_out_of_memory_errors() { return _preallocated_out_of_memory_error_array; }
0N/A static bool _verify_in_progress;
0N/A static void compute_verify_oop_data();
return _objectArrayKlassObj;
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;