< prev index next >

src/hotspot/cpu/s390/macroAssembler_s390.hpp

Print this page
rev 48251 : 8193257: PPC64, s390 implementation for Thread-local handshakes
Reviewed-by:

@@ -258,12 +258,10 @@
   void align_address(int modulus);
 
   //
   // Constants, loading constants, TOC support
   //
-  // Safepoint check factored out.
-  void generate_safepoint_check(Label& slow_path, Register scratch = noreg, bool may_relocate = true);
 
   // Load generic address: d <- base(a) + index(a) + disp(a).
   inline void load_address(Register d, const Address &a);
   // Load absolute address (and try to optimize).
   void load_absolute_address(Register d, address addr);

@@ -441,10 +439,13 @@
   address get_PC(Register result);
 
   // Get current PC + offset. Offset given in bytes, must be even!
   address get_PC(Register result, int64_t offset);
 
+  // Replace pc of valid code by next pc.
+  void instr_size(Register size, Register pc);
+
   // Accessing, and in particular modifying, a stack location is only safe if
   // the stack pointer (Z_SP) is set such that the accessed stack location is
   // in the reserved range.
   //
   // From a performance point of view, it is desirable not to change the SP

@@ -639,10 +640,12 @@
   static bool is_memory_serialization(int instruction, JavaThread* thread, void* ucontext);
 
   // Support for serializing memory accesses between threads.
   void serialize_memory(Register thread, Register tmp1, Register tmp2);
 
+  void safepoint_poll(Label& slow_path, Register temp_reg);
+
   // Stack overflow checking
   void bang_stack_with_offset(int offset);
 
   // Check for reserved stack access in method being exited. If the reserved
   // stack area was accessed, protect it again and throw StackOverflowError.
< prev index next >