8076457: Fix includes of inline.hpp in GC code

Reviewed-by: pliden, jmasa
This commit is contained in:
Stefan Karlsson 2015-04-02 10:24:24 +02:00
parent 5285c9ea86
commit d71d16b043
23 changed files with 33 additions and 18 deletions

View file

@ -272,6 +272,11 @@ Thread::Thread() {
#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