< prev index next >
src/share/vm/runtime/thread.cpp
Print this page
rev 8052 : imported patch g1HotCardCache
@@ -270,10 +270,15 @@
"bug in forced alignment of thread objects");
}
#endif // ASSERT
}
+// Non-inlined version to be used where thread.inline.hpp shouldn't be included.
+Thread* Thread::current_noinline() {
+ return Thread::current();
+}
+
void Thread::initialize_thread_local_storage() {
// Note: Make sure this method only calls
// non-blocking operations. Otherwise, it might not work
// with the thread-startup/safepoint interaction.
< prev index next >