Mercurial > hg > graal-jvmci-8
comparison src/share/vm/services/threadService.cpp @ 6831:d8ce2825b193
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
Summary: Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
author | coleenp |
---|---|
date | Sat, 29 Sep 2012 06:40:00 -0400 |
parents | da91efe96a93 |
children | 5ee250974db9 |
comparison
equal
deleted
inserted
replaced
6811:1b582b1bf7cb | 6831:d8ce2825b193 |
---|---|
248 | 248 |
249 // Allocate the resulting StackTraceElement[][] object | 249 // Allocate the resulting StackTraceElement[][] object |
250 | 250 |
251 ResourceMark rm(THREAD); | 251 ResourceMark rm(THREAD); |
252 Klass* k = SystemDictionary::resolve_or_fail(vmSymbols::java_lang_StackTraceElement_array(), true, CHECK_NH); | 252 Klass* k = SystemDictionary::resolve_or_fail(vmSymbols::java_lang_StackTraceElement_array(), true, CHECK_NH); |
253 objArrayKlass* ik = objArrayKlass::cast(k); | 253 ObjArrayKlass* ik = ObjArrayKlass::cast(k); |
254 objArrayOop r = oopFactory::new_objArray(ik, num_threads, CHECK_NH); | 254 objArrayOop r = oopFactory::new_objArray(ik, num_threads, CHECK_NH); |
255 objArrayHandle result_obj(THREAD, r); | 255 objArrayHandle result_obj(THREAD, r); |
256 | 256 |
257 int num_snapshots = dump_result.num_snapshots(); | 257 int num_snapshots = dump_result.num_snapshots(); |
258 assert(num_snapshots == num_threads, "Must have num_threads thread snapshots"); | 258 assert(num_snapshots == num_threads, "Must have num_threads thread snapshots"); |