Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
6366:67ee6f880ef3 | 6367:cc402f4396f4 |
---|---|
271 HotSpotResolvedJavaType::set_javaMirror(obj, klass->java_mirror()); | 271 HotSpotResolvedJavaType::set_javaMirror(obj, klass->java_mirror()); |
272 HotSpotResolvedJavaType::set_simpleName(obj, name()); | 272 HotSpotResolvedJavaType::set_simpleName(obj, name()); |
273 HotSpotResolvedJavaType::set_accessFlags(obj, klass->access_flags().as_int()); | 273 HotSpotResolvedJavaType::set_accessFlags(obj, klass->access_flags().as_int()); |
274 HotSpotResolvedJavaType::set_isInterface(obj, klass->is_interface()); | 274 HotSpotResolvedJavaType::set_isInterface(obj, klass->is_interface()); |
275 HotSpotResolvedJavaType::set_superCheckOffset(obj, klass->super_check_offset()); | 275 HotSpotResolvedJavaType::set_superCheckOffset(obj, klass->super_check_offset()); |
276 HotSpotResolvedJavaType::set_initialMarkWord(obj, (jlong) klass->prototype_header()); | |
277 HotSpotResolvedJavaType::set_isInstanceClass(obj, klass->oop_is_instance()); | 276 HotSpotResolvedJavaType::set_isInstanceClass(obj, klass->oop_is_instance()); |
278 | 277 |
279 if (klass->oop_is_javaArray()) { | 278 if (klass->oop_is_javaArray()) { |
280 HotSpotResolvedJavaType::set_isArrayClass(obj, true); | 279 HotSpotResolvedJavaType::set_isArrayClass(obj, true); |
281 } else { | 280 } else { |