hotspot/src/share/vm/c1/c1_Runtime1.hpp

Print this page
rev 611 : Merge


  42   stub(register_finalizer)           \
  43   stub(new_instance)                 \
  44   stub(fast_new_instance)            \
  45   stub(fast_new_instance_init_check) \
  46   stub(new_type_array)               \
  47   stub(new_object_array)             \
  48   stub(new_multi_array)              \
  49   stub(handle_exception_nofpu)         /* optimized version that does not preserve fpu registers */ \
  50   stub(handle_exception)             \
  51   stub(throw_array_store_exception)  \
  52   stub(throw_class_cast_exception)   \
  53   stub(throw_incompatible_class_change_error)   \
  54   stub(slow_subtype_check)           \
  55   stub(monitorenter)                 \
  56   stub(monitorenter_nofpu)             /* optimized version that does not preserve fpu registers */ \
  57   stub(monitorexit)                  \
  58   stub(monitorexit_nofpu)              /* optimized version that does not preserve fpu registers */ \
  59   stub(access_field_patching)        \
  60   stub(load_klass_patching)          \
  61   stub(jvmti_exception_throw)        \


  62   stub(fpu2long_stub)                \
  63   stub(counter_overflow)             \
  64   last_entry(number_of_ids)
  65 
  66 #define DECLARE_STUB_ID(x)       x ## _id ,
  67 #define DECLARE_LAST_STUB_ID(x)  x
  68 #define STUB_NAME(x)             #x " Runtime1 stub",
  69 #define LAST_STUB_NAME(x)        #x " Runtime1 stub"
  70 
  71 class Runtime1: public AllStatic {
  72   friend class VMStructs;
  73   friend class ArrayCopyStub;
  74  private:
  75   static int desired_max_code_buffer_size() {
  76     return (int) NMethodSizeLimit;  // default 256K or 512K
  77   }
  78   static int desired_max_constant_size() {
  79     return (int) NMethodSizeLimit / 10;  // about 25K
  80   }
  81 




  42   stub(register_finalizer)           \
  43   stub(new_instance)                 \
  44   stub(fast_new_instance)            \
  45   stub(fast_new_instance_init_check) \
  46   stub(new_type_array)               \
  47   stub(new_object_array)             \
  48   stub(new_multi_array)              \
  49   stub(handle_exception_nofpu)         /* optimized version that does not preserve fpu registers */ \
  50   stub(handle_exception)             \
  51   stub(throw_array_store_exception)  \
  52   stub(throw_class_cast_exception)   \
  53   stub(throw_incompatible_class_change_error)   \
  54   stub(slow_subtype_check)           \
  55   stub(monitorenter)                 \
  56   stub(monitorenter_nofpu)             /* optimized version that does not preserve fpu registers */ \
  57   stub(monitorexit)                  \
  58   stub(monitorexit_nofpu)              /* optimized version that does not preserve fpu registers */ \
  59   stub(access_field_patching)        \
  60   stub(load_klass_patching)          \
  61   stub(jvmti_exception_throw)        \
  62   stub(g1_pre_barrier_slow)          \
  63   stub(g1_post_barrier_slow)         \
  64   stub(fpu2long_stub)                \
  65   stub(counter_overflow)             \
  66   last_entry(number_of_ids)
  67 
  68 #define DECLARE_STUB_ID(x)       x ## _id ,
  69 #define DECLARE_LAST_STUB_ID(x)  x
  70 #define STUB_NAME(x)             #x " Runtime1 stub",
  71 #define LAST_STUB_NAME(x)        #x " Runtime1 stub"
  72 
  73 class Runtime1: public AllStatic {
  74   friend class VMStructs;
  75   friend class ArrayCopyStub;
  76  private:
  77   static int desired_max_code_buffer_size() {
  78     return (int) NMethodSizeLimit;  // default 256K or 512K
  79   }
  80   static int desired_max_constant_size() {
  81     return (int) NMethodSizeLimit / 10;  // about 25K
  82   }
  83