Mercurial > hg > graal-compiler
comparison src/share/vm/c1x/c1x_VMEntries.cpp @ 2288:8c426c2891c8
client/server: new interface Remote marks classes that should not be serialized, but called remotely
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Mon, 11 Apr 2011 10:37:24 +0200 |
parents | b966d9b66bf9 |
children | 6190d20bd6d6 |
comparison
equal
deleted
inserted
replaced
2287:66ffa0e99cef | 2288:8c426c2891c8 |
---|---|
350 | 350 |
351 // public RiConstantPool RiType_constantPool(HotSpotTypeResolved klass); | 351 // public RiConstantPool RiType_constantPool(HotSpotTypeResolved klass); |
352 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1constantPool(JNIEnv *, jobject, jobject klass) { | 352 JNIEXPORT jobject JNICALL Java_com_sun_hotspot_c1x_VMEntries_RiType_1constantPool(JNIEnv *, jobject, jobject klass) { |
353 VM_ENTRY_MARK; | 353 VM_ENTRY_MARK; |
354 | 354 |
355 instanceOop(JNIHandles::resolve(klass))->print_value(); | |
356 | |
355 assert(JNIHandles::resolve(klass) != NULL, ""); | 357 assert(JNIHandles::resolve(klass) != NULL, ""); |
356 constantPoolOop constantPool = ((instanceKlass*)java_lang_Class::as_klassOop(HotSpotTypeResolved::javaMirror(klass))->klass_part())->constants(); | 358 constantPoolOop constantPool = ((instanceKlass*)java_lang_Class::as_klassOop(HotSpotTypeResolved::javaMirror(klass))->klass_part())->constants(); |
357 return JNIHandles::make_local(VMExits::createRiConstantPool(VmIds::add<constantPoolOop>(constantPool), THREAD)); | 359 return JNIHandles::make_local(VMExits::createRiConstantPool(VmIds::add<constantPoolOop>(constantPool), THREAD)); |
358 } | 360 } |
359 | 361 |