OpenJDK / amber / amber
changeset 59227:c3203a6a2ed4
8235143: C2: No memory state needed in Thread::currentThread() intrinsic
Reviewed-by: mdoerr, jrose
author | vlivanov |
---|---|
date | Mon, 09 Dec 2019 19:29:39 +0300 |
parents | 1b86798de6aa |
children | 153e5f76551d |
files | src/hotspot/share/opto/library_call.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/opto/library_call.cpp Mon Dec 09 19:29:35 2019 +0300 +++ b/src/hotspot/share/opto/library_call.cpp Mon Dec 09 19:29:39 2019 +0300 @@ -1087,7 +1087,7 @@ const Type* thread_type = TypeOopPtr::make_from_klass(thread_klass)->cast_to_ptr_type(TypePtr::NotNull); Node* thread = _gvn.transform(new ThreadLocalNode()); Node* p = basic_plus_adr(top()/*!oop*/, thread, in_bytes(JavaThread::threadObj_offset())); - Node* threadObj = make_load(NULL, p, thread_type, T_OBJECT, MemNode::unordered); + Node* threadObj = _gvn.transform(LoadNode::make(_gvn, NULL, immutable_memory(), p, p->bottom_type()->is_ptr(), thread_type, T_OBJECT, MemNode::unordered)); tls_output = thread; return threadObj; }