Mercurial > hg > truffle
diff src/share/vm/prims/jvmtiExport.cpp @ 1142:4ce7240d622c
6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Wed, 06 Jan 2010 14:22:39 -0800 |
parents | 16c930df1e9b |
children | 9b9c1ee9b3f6 |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiExport.cpp Tue Jan 05 11:16:09 2010 -0800 +++ b/src/share/vm/prims/jvmtiExport.cpp Wed Jan 06 14:22:39 2010 -0800 @@ -627,7 +627,7 @@ klassOop k = obj->klass(); // if the object is a java.lang.Class then return the java mirror - if (k == SystemDictionary::class_klass()) { + if (k == SystemDictionary::Class_klass()) { if (!java_lang_Class::is_primitive(obj)) { k = java_lang_Class::as_klassOop(obj); assert(k != NULL, "class for non-primitive mirror must exist"); @@ -1896,7 +1896,7 @@ if (collector != NULL && collector->is_enabled()) { // Don't record classes as these will be notified via the ClassLoad // event. - if (obj->klass() != SystemDictionary::class_klass()) { + if (obj->klass() != SystemDictionary::Class_klass()) { collector->record_allocation(obj); } }