comparison src/share/vm/services/classLoadingService.hpp @ 6983:070d523b96a7

8001471: Klass::cast() does nothing Summary: Remove function Klass::cast() and calls to it. Reviewed-by: dholmes, coleenp
author hseigel
date Mon, 12 Nov 2012 16:15:05 -0500
parents fb19af007ffc
children db9981fd3124
comparison
equal deleted inserted replaced
6981:8c413497f434 6983:070d523b96a7
133 static void add_loaded_class(Klass* k) { 133 static void add_loaded_class(Klass* k) {
134 // FIXME: For now - don't include array klasses 134 // FIXME: For now - don't include array klasses
135 // The spec is unclear at this point to count array klasses or not 135 // The spec is unclear at this point to count array klasses or not
136 // and also indirect creation of array of super class and secondaries 136 // and also indirect creation of array of super class and secondaries
137 // 137 //
138 // for (Klass* l = k; l != NULL; l = Klass::cast(l)->array_klass_or_null()) { 138 // for (Klass* l = k; l != NULL; l = l->array_klass_or_null()) {
139 // KlassHandle h(_current_thread, l); 139 // KlassHandle h(_current_thread, l);
140 // _loaded_classes->append(h); 140 // _loaded_classes->append(h);
141 // } 141 // }
142 KlassHandle h(_current_thread, k); 142 KlassHandle h(_current_thread, k);
143 _loaded_classes->append(h); 143 _loaded_classes->append(h);