< prev index next >

src/hotspot/cpu/aarch64/gc/shared/barrierSetAssembler_aarch64.hpp

Print this page

  1 /*
  2  * Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  5  * This code is free software; you can redistribute it and/or modify it
  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  *

 82 
 83   virtual void copy_store_at(MacroAssembler* masm,
 84                              DecoratorSet decorators,
 85                              BasicType type,
 86                              size_t bytes,
 87                              Address dst,
 88                              FloatRegister src1,
 89                              FloatRegister src2,
 90                              Register tmp1,
 91                              Register tmp2,
 92                              Register tmp3,
 93                              FloatRegister vec_tmp1,
 94                              FloatRegister vec_tmp2,
 95                              FloatRegister vec_tmp3);
 96 
 97   virtual void load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
 98                        Register dst, Address src, Register tmp1, Register tmp2);
 99   virtual void store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
100                         Address dst, Register val, Register tmp1, Register tmp2, Register tmp3);
101 



102   virtual void try_resolve_jobject_in_native(MacroAssembler* masm, Register jni_env,
103                                              Register obj, Register tmp, Label& slowpath);
104 
105   virtual void tlab_allocate(MacroAssembler* masm,
106     Register obj,                      // result: pointer to object after successful allocation
107     Register var_size_in_bytes,        // object size in bytes if unknown at compile time; invalid otherwise
108     int      con_size_in_bytes,        // object size in bytes if   known at compile time
109     Register t1,                       // temp register
110     Register t2,                       // temp register
111     Label&   slow_case                 // continuation point if fast allocation fails
112   );
113 
114   virtual void barrier_stubs_init() {}
115 
116   virtual NMethodPatchingType nmethod_patching_type() { return NMethodPatchingType::stw_instruction_and_data_patch; }
117 
118   virtual void nmethod_entry_barrier(MacroAssembler* masm, Label* slow_path, Label* continuation, Label* guard);
119   virtual void c2i_entry_barrier(MacroAssembler* masm);
120 
121   virtual void check_oop(MacroAssembler* masm, Register obj, Register tmp1, Register tmp2, Label& error);

  1 /*
  2  * Copyright (c) 2018, 2025, Oracle and/or its affiliates. All rights reserved.
  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  5  * This code is free software; you can redistribute it and/or modify it
  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  *

 82 
 83   virtual void copy_store_at(MacroAssembler* masm,
 84                              DecoratorSet decorators,
 85                              BasicType type,
 86                              size_t bytes,
 87                              Address dst,
 88                              FloatRegister src1,
 89                              FloatRegister src2,
 90                              Register tmp1,
 91                              Register tmp2,
 92                              Register tmp3,
 93                              FloatRegister vec_tmp1,
 94                              FloatRegister vec_tmp2,
 95                              FloatRegister vec_tmp3);
 96 
 97   virtual void load_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
 98                        Register dst, Address src, Register tmp1, Register tmp2);
 99   virtual void store_at(MacroAssembler* masm, DecoratorSet decorators, BasicType type,
100                         Address dst, Register val, Register tmp1, Register tmp2, Register tmp3);
101 
102   virtual void flat_field_copy(MacroAssembler* masm, DecoratorSet decorators,
103                           Register src, Register dst, Register inline_layout_info);
104 
105   virtual void try_resolve_jobject_in_native(MacroAssembler* masm, Register jni_env,
106                                              Register obj, Register tmp, Label& slowpath);
107 
108   virtual void tlab_allocate(MacroAssembler* masm,
109     Register obj,                      // result: pointer to object after successful allocation
110     Register var_size_in_bytes,        // object size in bytes if unknown at compile time; invalid otherwise
111     int      con_size_in_bytes,        // object size in bytes if   known at compile time
112     Register t1,                       // temp register
113     Register t2,                       // temp register
114     Label&   slow_case                 // continuation point if fast allocation fails
115   );
116 
117   virtual void barrier_stubs_init() {}
118 
119   virtual NMethodPatchingType nmethod_patching_type() { return NMethodPatchingType::stw_instruction_and_data_patch; }
120 
121   virtual void nmethod_entry_barrier(MacroAssembler* masm, Label* slow_path, Label* continuation, Label* guard);
122   virtual void c2i_entry_barrier(MacroAssembler* masm);
123 
124   virtual void check_oop(MacroAssembler* masm, Register obj, Register tmp1, Register tmp2, Label& error);
< prev index next >