diff src/share/vm/graal/graalEnv.hpp @ 3653:6aef50c6d967

Handlize to fix GC issue.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 17 Nov 2011 00:01:56 +0100
parents cb1181db8bec
children 4123781869da
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.hpp	Wed Nov 16 23:35:10 2011 +0100
+++ b/src/share/vm/graal/graalEnv.hpp	Thu Nov 17 00:01:56 2011 +0100
@@ -71,7 +71,7 @@
                                 int field_index);
   static methodHandle  get_method_by_index(constantPoolHandle cpool,
                                  int method_index, Bytecodes::Code bc,
-                                 instanceKlass* loading_klass);
+                                 instanceKlassHandle loading_klass);
 
 private:
 
@@ -88,12 +88,12 @@
                                      int field_index);
   static methodHandle  get_method_by_index_impl(constantPoolHandle cpool,
                                       int method_index, Bytecodes::Code bc,
-                                      instanceKlass* loading_klass);
+                                      instanceKlassHandle loading_klass);
 
   // Helper methods
   static bool       check_klass_accessibility(klassOop accessing_klass, klassOop resolved_klassOop);
-  static methodOop  lookup_method(instanceKlass*  accessor,
-                           instanceKlass*  holder,
+  static methodHandle  lookup_method(instanceKlassHandle  accessor,
+                           instanceKlassHandle  holder,
                            Symbol*         name,
                            Symbol*         sig,
                            Bytecodes::Code bc);
@@ -135,7 +135,7 @@
   // ciInstanceKlass*.  This is needed since the holder of a method in
   // the bytecodes could be an array type.  Basically this converts
   // array types into java/lang/Object and other types stay as they are.
-  static instanceKlass* get_instance_klass_for_declared_method_holder(KlassHandle klass);
+  static instanceKlassHandle get_instance_klass_for_declared_method_holder(KlassHandle klass);
 };
 
 #endif // SHARE_VM_GRAAL_GRAALENV_HPP