< prev index next >

src/share/vm/aot/aotLoader.hpp

Print this page




  41 #if INCLUDE_AOT
  42   static GrowableArray<AOTCodeHeap*>* _heaps;
  43   static GrowableArray<AOTLib*>* _libraries;
  44 #endif
  45   static void load_library(const char* name, bool exit_on_error);
  46 
  47 public:
  48 #if INCLUDE_AOT
  49   static GrowableArray<AOTCodeHeap*>* heaps();
  50   static GrowableArray<AOTLib*>* libraries();
  51   static int heaps_count();
  52   static int libraries_count();
  53   static void add_heap(AOTCodeHeap *heap);
  54   static void add_library(AOTLib *lib);
  55 #endif
  56   static void initialize() NOT_AOT({ FLAG_SET_ERGO(bool, UseAOT, false); });
  57 
  58   static void universe_init() NOT_AOT_RETURN;
  59   static void set_narrow_klass_shift() NOT_AOT_RETURN;
  60   static bool contains(address p) NOT_AOT({ return false; });
  61   static void load_for_klass(instanceKlassHandle, Thread* thread) NOT_AOT_RETURN;
  62   static bool find_klass(InstanceKlass* ik) NOT_AOT({ return false; });
  63   static uint64_t get_saved_fingerprint(InstanceKlass* ik) NOT_AOT({ return 0; });
  64   static void oops_do(OopClosure* f) NOT_AOT_RETURN;
  65   static void metadata_do(void f(Metadata*)) NOT_AOT_RETURN;
  66   static address exception_begin(JavaThread* thread, CodeBlob* blob, address return_address) NOT_AOT({ return NULL; });
  67 
  68   NOT_PRODUCT( static void print_statistics() NOT_AOT_RETURN; )
  69 
  70 #ifdef HOTSWAP
  71   // Flushing and deoptimization in case of evolution
  72   static void flush_evol_dependents_on(instanceKlassHandle dependee) NOT_AOT_RETURN;
  73 #endif // HOTSWAP
  74 
  75 };
  76 
  77 #endif // SHARE_VM_AOT_AOTLOADER_HPP


  41 #if INCLUDE_AOT
  42   static GrowableArray<AOTCodeHeap*>* _heaps;
  43   static GrowableArray<AOTLib*>* _libraries;
  44 #endif
  45   static void load_library(const char* name, bool exit_on_error);
  46 
  47 public:
  48 #if INCLUDE_AOT
  49   static GrowableArray<AOTCodeHeap*>* heaps();
  50   static GrowableArray<AOTLib*>* libraries();
  51   static int heaps_count();
  52   static int libraries_count();
  53   static void add_heap(AOTCodeHeap *heap);
  54   static void add_library(AOTLib *lib);
  55 #endif
  56   static void initialize() NOT_AOT({ FLAG_SET_ERGO(bool, UseAOT, false); });
  57 
  58   static void universe_init() NOT_AOT_RETURN;
  59   static void set_narrow_klass_shift() NOT_AOT_RETURN;
  60   static bool contains(address p) NOT_AOT({ return false; });
  61   static void load_for_klass(InstanceKlass* ik, Thread* thread) NOT_AOT_RETURN;
  62   static bool find_klass(InstanceKlass* ik) NOT_AOT({ return false; });
  63   static uint64_t get_saved_fingerprint(InstanceKlass* ik) NOT_AOT({ return 0; });
  64   static void oops_do(OopClosure* f) NOT_AOT_RETURN;
  65   static void metadata_do(void f(Metadata*)) NOT_AOT_RETURN;
  66   static address exception_begin(JavaThread* thread, CodeBlob* blob, address return_address) NOT_AOT({ return NULL; });
  67 
  68   NOT_PRODUCT( static void print_statistics() NOT_AOT_RETURN; )
  69 
  70 #ifdef HOTSWAP
  71   // Flushing and deoptimization in case of evolution
  72   static void flush_evol_dependents_on(InstanceKlass* dependee) NOT_AOT_RETURN;
  73 #endif // HOTSWAP
  74 
  75 };
  76 
  77 #endif // SHARE_VM_AOT_AOTLOADER_HPP
< prev index next >