diff src/cpu/x86/vm/macroAssembler_x86.hpp @ 8974:32bc598624bd

8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles Summary: Add tag bit to all JNI weak handles Reviewed-by: kbarrett, coleenp, tschatzl
author phh
date Tue, 07 May 2019 20:38:26 +0000
parents f8a45a60bc6b
children
line wrap: on
line diff
--- a/src/cpu/x86/vm/macroAssembler_x86.hpp	Thu Nov 05 11:42:42 2015 +0100
+++ b/src/cpu/x86/vm/macroAssembler_x86.hpp	Tue May 07 20:38:26 2019 +0000
@@ -298,6 +298,9 @@
   void store_check(Register obj);                // store check for obj - register is destroyed afterwards
   void store_check(Register obj, Address dst);   // same as above, dst is exact store location (reg. is destroyed)
 
+  void resolve_jobject(Register value, Register thread, Register tmp);
+  void clear_jweak_tag(Register possibly_jweak);
+
 #if INCLUDE_ALL_GCS
 
   void g1_write_barrier_pre(Register obj,