src/share/vm/prims/jvmtiExport.cpp

changeset 1577
4ce7240d622c
parent 1316
16c930df1e9b
child 1579
9b9c1ee9b3f6
     1.1 --- a/src/share/vm/prims/jvmtiExport.cpp	Tue Jan 05 11:16:09 2010 -0800
     1.2 +++ b/src/share/vm/prims/jvmtiExport.cpp	Wed Jan 06 14:22:39 2010 -0800
     1.3 @@ -627,7 +627,7 @@
     1.4    klassOop k = obj->klass();
     1.5  
     1.6    // if the object is a java.lang.Class then return the java mirror
     1.7 -  if (k == SystemDictionary::class_klass()) {
     1.8 +  if (k == SystemDictionary::Class_klass()) {
     1.9      if (!java_lang_Class::is_primitive(obj)) {
    1.10        k = java_lang_Class::as_klassOop(obj);
    1.11        assert(k != NULL, "class for non-primitive mirror must exist");
    1.12 @@ -1896,7 +1896,7 @@
    1.13        if (collector != NULL && collector->is_enabled()) {
    1.14          // Don't record classes as these will be notified via the ClassLoad
    1.15          // event.
    1.16 -        if (obj->klass() != SystemDictionary::class_klass()) {
    1.17 +        if (obj->klass() != SystemDictionary::Class_klass()) {
    1.18            collector->record_allocation(obj);
    1.19          }
    1.20        }

mercurial