Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalRuntime.cpp @ 7222:720925633b3a
fixes after merge
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Tue, 11 Dec 2012 09:10:50 +0100 |
parents | 2ae3e26b7e9a |
children | 8a3efb8c831d |
comparison
equal
deleted
inserted
replaced
7221:2ae3e26b7e9a | 7222:720925633b3a |
---|---|
586 JRT_ENTRY(jint, GraalRuntime::graal_identity_hash_code(JavaThread* thread, oop obj)) | 586 JRT_ENTRY(jint, GraalRuntime::graal_identity_hash_code(JavaThread* thread, oop obj)) |
587 return (jint) obj->identity_hash(); | 587 return (jint) obj->identity_hash(); |
588 JRT_END | 588 JRT_END |
589 | 589 |
590 JRT_ENTRY(jboolean, GraalRuntime::graal_thread_is_interrupted(JavaThread* thread, oop receiver, jboolean clear_interrupted)) | 590 JRT_ENTRY(jboolean, GraalRuntime::graal_thread_is_interrupted(JavaThread* thread, oop receiver, jboolean clear_interrupted)) |
591 // TEMP: | |
592 tty->print_cr("ThreadIsInterruptedSlowCase"); | |
593 | |
594 // Ensure that the C++ Thread and OSThread structures aren't freed before we operate | 591 // Ensure that the C++ Thread and OSThread structures aren't freed before we operate |
595 Handle receiverHandle(thread, receiver); | 592 Handle receiverHandle(thread, receiver); |
596 JRT_BLOCK | 593 JRT_BLOCK |
597 MutexLockerEx ml(thread->threadObj() == receiver ? NULL : Threads_lock); | 594 MutexLockerEx ml(thread->threadObj() == receiver ? NULL : Threads_lock); |
598 JavaThread* receiverThread = java_lang_Thread::thread(receiverHandle()); | 595 JavaThread* receiverThread = java_lang_Thread::thread(receiverHandle()); |