mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8076457: Fix includes of inline.hpp in GC code
Reviewed-by: pliden, jmasa
This commit is contained in:
parent
5285c9ea86
commit
d71d16b043
23 changed files with 33 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue