Mercurial > hg > graal-compiler
comparison src/share/vm/prims/jvmtiTagMap.cpp @ 6735:aed758eda82a
7195833: NPG: Rename instanceClassLoaderKlass, instanceRefKlass and instanceMirrorKlass
Summary: Simple renaming to be consistent with instanceKlass->InstanceKlass renaming
Reviewed-by: stefank, jmasa
author | coleenp |
---|---|
date | Fri, 07 Sep 2012 12:04:16 -0400 |
parents | da91efe96a93 |
children | ec98e58952b2 |
comparison
equal
deleted
inserted
replaced
6734:942bb29b20b0 | 6735:aed758eda82a |
---|---|
2788 | 2788 |
2789 // verify that a static oop field is in range | 2789 // verify that a static oop field is in range |
2790 static inline bool verify_static_oop(InstanceKlass* ik, | 2790 static inline bool verify_static_oop(InstanceKlass* ik, |
2791 oop mirror, int offset) { | 2791 oop mirror, int offset) { |
2792 address obj_p = (address)mirror + offset; | 2792 address obj_p = (address)mirror + offset; |
2793 address start = (address)instanceMirrorKlass::start_of_static_fields(mirror); | 2793 address start = (address)InstanceMirrorKlass::start_of_static_fields(mirror); |
2794 address end = start + (java_lang_Class::static_oop_field_count(mirror) * heapOopSize); | 2794 address end = start + (java_lang_Class::static_oop_field_count(mirror) * heapOopSize); |
2795 assert(end >= start, "sanity check"); | 2795 assert(end >= start, "sanity check"); |
2796 | 2796 |
2797 if (obj_p >= start && obj_p < end) { | 2797 if (obj_p >= start && obj_p < end) { |
2798 return true; | 2798 return true; |