diff src/share/vm/classfile/vmSymbols.hpp @ 1410:b30a2cd5e3a2

Added methods to c1x_VMExits.cpp Some memos: - the result is not stored in a jobject, but in an oop! => (oop)get_as_jobject() - we get problems with locks hold by the user program when disabling background compilation => currently this makes an assert, we need a better solution
author Thomas Wuerthinger <thomas.wuerthinger@gmail.com>
date Wed, 12 May 2010 16:29:41 +0200
parents d7f654633cfe
children 1ecc8f0aad00
line wrap: on
line diff
--- a/src/share/vm/classfile/vmSymbols.hpp	Tue May 11 19:24:14 2010 +0200
+++ b/src/share/vm/classfile/vmSymbols.hpp	Wed May 12 16:29:41 2010 +0200
@@ -244,6 +244,23 @@
   NOT_LP64(  do_alias(machine_word_signature,         int_signature)  )                           \
   LP64_ONLY( do_alias(machine_word_signature,         long_signature) )                           \
                                                                                                   \
+  /* support for C1X */                                                                                        \
+  template(com_sun_hotspot_c1x_VMExits,               "com/sun/hotspot/c1x/VMExits")                           \
+  template(com_sun_cri_ri_RiMethod,                   "com/sun/cri/ri/RiMethod")                               \
+  template(com_sun_cri_ri_RiField,                    "com/sun/cri/ri/RiField")                                \
+  template(com_sun_cri_ri_RiType,                     "com/sun/cri/ri/RiType")                                 \
+  template(com_sun_cri_ri_RiConstantPool,             "com/sun/cri/ri/RiConstantPool")                         \
+  template(compileMethod_name,                        "compileMethod")                                         \
+  template(compileMethod_signature,                   "(Lcom/sun/cri/ri/RiMethod;I)V")                         \
+  template(createRiMethod_name,                       "createRiMethod")                                        \
+  template(createRiMethod_signature,                  "(Ljava/lang/Object;)Lcom/sun/cri/ri/RiMethod;")         \
+  template(createRiField_name,                        "createRiField")                                         \
+  template(createRiField_signature,                   "(Ljava/lang/Object;I)Lcom/sun/cri/ri/RiField;")         \
+  template(createRiType_name,                         "createRiType")                                          \
+  template(createRiType_signature,                    "(Ljava/lang/Object;)Lcom/sun/cri/ri/RiType;")           \
+  template(createRiConstantPool_name,                 "createRiConstantPool")                                  \
+  template(createRiConstantPool_signature,            "(Ljava/lang/Object;I)Lcom/sun/cri/ri/RiConstantPool;")  \
+                                                                                                  \
   /* common method and field names */                                                             \
   template(object_initializer_name,                   "<init>")                                   \
   template(class_initializer_name,                    "<clinit>")                                 \