mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6976186: integrate Shark HotSpot changes
Shark is a JIT compiler for Zero that uses the LLVM compiler infrastructure. Reviewed-by: kvn, twisti
This commit is contained in:
parent
c9ac8cc788
commit
d7310fb0f7
67 changed files with 12200 additions and 40 deletions
|
@ -751,10 +751,14 @@ void methodOopDesc::set_code(methodHandle mh, nmethod *code) {
|
|||
}
|
||||
|
||||
OrderAccess::storestore();
|
||||
#ifdef SHARK
|
||||
mh->_from_interpreted_entry = code->instructions_begin();
|
||||
#else
|
||||
mh->_from_compiled_entry = code->verified_entry_point();
|
||||
OrderAccess::storestore();
|
||||
// Instantly compiled code can execute.
|
||||
mh->_from_interpreted_entry = mh->get_i2c_entry();
|
||||
#endif // SHARK
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue