[11u] RFR: 8247350: [aarch64] assert(false) failed: wrong size of mach node

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Jun 24 16:17:43 UTC 2020


Hi Goetz,

11u needs additional fix in macroAssembler_aarch64.cpp:

   void MacroAssembler::stop(const char* msg) {
     address ip = pc();
     pusha();
!   mov(c_rarg0, (address)msg);
!   mov(c_rarg1, (address)ip);
     mov(c_rarg2, sp);
     mov(c_rarg3, CAST_FROM_FN_PTR(address, MacroAssembler::debug64));
     // call(c_rarg3);
     blrt(c_rarg3, 3, 0, 1);
     hlt(0);
--- 2141,2152 ----
   }

   void MacroAssembler::stop(const char* msg) {
     address ip = pc();
     pusha();
!   movptr(c_rarg0, (uintptr_t)(address)msg);
!   movptr(c_rarg1, (uintptr_t)(address)ip);
     mov(c_rarg2, sp);
     mov(c_rarg3, CAST_FROM_FN_PTR(address, MacroAssembler::debug64));
     // call(c_rarg3);
     blrt(c_rarg3, 3, 0, 1);
     hlt(0);

Thanks,
Vladimir

On 6/24/20 9:08 AM, Lindenmaier, Goetz wrote:
> Hi,
> 
> I would like to downport this for parity with 11.0.9-oracle.
> 
> I had to resolve the assert coding in output.cpp:
> http://cr.openjdk.java.net/~goetz/wr20/8247350-aarch_node_size-jdk11/01/
> 
> Please review.
> 
> https://bugs.openjdk.java.net/browse/JDK-8247350
> https://hg.openjdk.java.net/jdk/jdk15/rev/1c81917f228b
> 
> Best regards,
>    Goetz
> 


More information about the jdk-updates-dev mailing list