diff src/share/vm/c1x/c1x_VmIds.hpp @ 1434:72cfb36c6bb2

* enabled all jtt tests * added proxy that counts jni calls * honor hotspot stackshadowpages * constant pool caching * monitor enter/exit * arithmetic stubs (frem, drem, ...) * create stack values for debug info * some doc
author Lukas Stadler <lukas.stadler@oracle.com>
date Thu, 30 Sep 2010 17:19:48 -0700
parents abc670a709dc
children 9569fdf936ff
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_VmIds.hpp	Thu Sep 16 19:42:20 2010 -0700
+++ b/src/share/vm/c1x/c1x_VmIds.hpp	Thu Sep 30 17:19:48 2010 -0700
@@ -43,7 +43,9 @@
     DUMMY_CONSTANT = 0x6ffffffffffffffl
   };
 
+  // Initializes the VmIds for a compilation, by creating the arrays
   static void initializeObjects();
+  // Cleans up after a compilation, by deallocating the arrays
   static void cleanupLocalObjects();
 
   // Adds a stub address, and returns the corresponding vmId (which is of type STUB)
@@ -71,9 +73,11 @@
   // Helper function to convert a java.lang.String object to a symbolOop (this will return NULL if the symbol doesn't exist in the system)
   static symbolOop toSymbol(jstring string);
 
+  // Helper function to get the contents of a java.lang.Long
   static jlong getBoxedLong(oop obj);
 };
 
+
 template <> inline jlong VmIds::add<methodOop>(methodOop obj){
   assert(obj != NULL, "trying to add NULL<methodOop>");
   assert(obj->is_method(), "trying to add mistyped object");
@@ -100,6 +104,7 @@
   return add(Handle(obj), CONSTANT);
 }
 
+
 template <> inline methodOop VmIds::get<methodOop>(jlong id){
   assert((id & TYPE_MASK) == METHOD, "METHOD expected");
   assert(getObject(id)->is_method(), "methodOop expected");