diff src/share/vm/c1x/c1x_TargetMethod.hpp @ 1942:00bc9eaf0e24

Support for -XX:+UseFastLocking flag. Fixed monitor enter XIR template for correct debug info at the runtime call.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Wed, 29 Dec 2010 20:06:41 +0100
parents 79d04223b8a5
children
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_TargetMethod.hpp	Tue Dec 28 18:33:26 2010 +0100
+++ b/src/share/vm/c1x/c1x_TargetMethod.hpp	Wed Dec 29 20:06:41 2010 +0100
@@ -190,7 +190,7 @@
   class name : AllStatic {                      \
   private:                                      \
     friend class C1XCompiler;                   \
-    static void check(oop obj) { assert(obj != NULL, "NULL field access"); assert(obj->is_a(SystemDictionary::name##_klass()), "wrong class, " #name " expected"); } \
+    static void check(oop obj) { assert(obj != NULL, "NULL field access of class " #name); assert(obj->is_a(SystemDictionary::name##_klass()), "wrong class, " #name " expected"); } \
     static void compute_offsets();              \
   public:                                       \
     static klassOop klass() { return SystemDictionary::name##_klass(); }