[aarch64-port-dev ] RFR: AArch64: jtreg test vmTestbase/nsk/jvmti/PopFrame/popframe005 segfaults

Nick Gasson (Arm Technology China) Nick.Gasson at arm.com
Mon Jan 7 09:34:47 UTC 2019


Hello,

On 05/01/2019 12:09, Yangfei (Felix) wrote:
> 
> Pushed as: http://hg.openjdk.java.net/jdk/jdk/rev/22baf8054a40
> 

Thanks Andrew and Felix!

I had a quick look at the other backends: ARM32 and PPC also use a fixed 
register to store the dispatch table pointer. ARM32 reloads it in 
_remove_activation_preserving_args_entry but PPC, as far as I can tell, 
doesn't. I don't have access to any hardware to test on, but it looks 
like it's missing a line like the following after the call to 
restore_interpreter_state (c.f. _rethrow_exception_entry):

   // Compiled code destroys templateTableBase, reload.
   __ load_const_optimized(R25_templateTableBase, 
(address)Interpreter::dispatch_table((TosState)0), R11_scratch1);


Nick


More information about the aarch64-port-dev mailing list