Mercurial > hg > graal-jvmci-8
diff src/share/vm/graal/graalCompiler.cpp @ 6367:cc402f4396f4
deleted caching of initial mark word in HotSpotResolvedJavaType. This value is modified by the biased locking mechanism and so it not constant for a Klass
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 12 Sep 2012 23:50:37 +0200 |
parents | 87e8baf5447c |
children | 45f682f7fea8 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompiler.cpp Wed Sep 12 23:37:39 2012 +0200 +++ b/src/share/vm/graal/graalCompiler.cpp Wed Sep 12 23:50:37 2012 +0200 @@ -273,7 +273,6 @@ HotSpotResolvedJavaType::set_accessFlags(obj, klass->access_flags().as_int()); HotSpotResolvedJavaType::set_isInterface(obj, klass->is_interface()); HotSpotResolvedJavaType::set_superCheckOffset(obj, klass->super_check_offset()); - HotSpotResolvedJavaType::set_initialMarkWord(obj, (jlong) klass->prototype_header()); HotSpotResolvedJavaType::set_isInstanceClass(obj, klass->oop_is_instance()); if (klass->oop_is_javaArray()) {