< prev index next >

src/hotspot/cpu/aarch64/nativeInst_aarch64.cpp

Print this page

 12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 13  * version 2 for more details (a copy is included in the LICENSE file that
 14  * accompanied this code).
 15  *
 16  * You should have received a copy of the GNU General Public License version
 17  * 2 along with this work; if not, write to the Free Software Foundation,
 18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 19  *
 20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 21  * or visit www.oracle.com if you need additional information or have any
 22  * questions.
 23  *
 24  */
 25 
 26 #include "asm/macroAssembler.hpp"
 27 #include "code/codeCache.hpp"
 28 #include "code/compiledIC.hpp"
 29 #include "gc/shared/collectedHeap.hpp"
 30 #include "nativeInst_aarch64.hpp"
 31 #include "oops/oop.inline.hpp"

 32 #include "runtime/handles.hpp"
 33 #include "runtime/orderAccess.hpp"
 34 #include "runtime/sharedRuntime.hpp"
 35 #include "runtime/stubRoutines.hpp"
 36 #include "utilities/ostream.hpp"
 37 #ifdef COMPILER1
 38 #include "c1/c1_Runtime1.hpp"
 39 #endif
 40 
 41 void NativeCall::verify() {
 42   assert(NativeCall::is_call_at((address)this), "unexpected code at call site");
 43 }
 44 
 45 void NativeInstruction::wrote(int offset) {
 46   ICache::invalidate_word(addr_at(offset));
 47 }
 48 
 49 address NativeCall::destination() const {
 50   address addr = instruction_address();
 51   address destination = addr + displacement();

 12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 13  * version 2 for more details (a copy is included in the LICENSE file that
 14  * accompanied this code).
 15  *
 16  * You should have received a copy of the GNU General Public License version
 17  * 2 along with this work; if not, write to the Free Software Foundation,
 18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 19  *
 20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 21  * or visit www.oracle.com if you need additional information or have any
 22  * questions.
 23  *
 24  */
 25 
 26 #include "asm/macroAssembler.hpp"
 27 #include "code/codeCache.hpp"
 28 #include "code/compiledIC.hpp"
 29 #include "gc/shared/collectedHeap.hpp"
 30 #include "nativeInst_aarch64.hpp"
 31 #include "oops/oop.inline.hpp"
 32 #include "runtime/atomicAccess.hpp"
 33 #include "runtime/handles.hpp"
 34 #include "runtime/orderAccess.hpp"
 35 #include "runtime/sharedRuntime.hpp"
 36 #include "runtime/stubRoutines.hpp"
 37 #include "utilities/ostream.hpp"
 38 #ifdef COMPILER1
 39 #include "c1/c1_Runtime1.hpp"
 40 #endif
 41 
 42 void NativeCall::verify() {
 43   assert(NativeCall::is_call_at((address)this), "unexpected code at call site");
 44 }
 45 
 46 void NativeInstruction::wrote(int offset) {
 47   ICache::invalidate_word(addr_at(offset));
 48 }
 49 
 50 address NativeCall::destination() const {
 51   address addr = instruction_address();
 52   address destination = addr + displacement();
< prev index next >