< prev index next >

src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp

Print this page

        

*** 1,8 **** /* * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2014, 2018, Red Hat Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,8 ---- /* * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2014, 2018, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 834,843 **** --- 834,844 ---- __ bind(L); } #endif // ASSERT __ bind(done); + __ resolve_for_write(0, r0); } // add space for monitor & lock __ sub(sp, sp, entry_size); // add space for a monitor entry __ sub(esp, esp, entry_size);
*** 1060,1069 **** --- 1061,1071 ---- __ ldrw(off, Address(esp, wordSize)); // offset __ add(buf, buf, off); // + offset __ ldrw(crc, Address(esp, 4*wordSize)); // Initial CRC } else { __ ldr(buf, Address(esp, 2*wordSize)); // byte[] array + __ resolve_for_read(IS_NOT_NULL, buf); __ add(buf, buf, arrayOopDesc::base_offset_in_bytes(T_BYTE)); // + header size __ ldrw(off, Address(esp, wordSize)); // offset __ add(buf, buf, off); // + offset __ ldrw(crc, Address(esp, 3*wordSize)); // Initial CRC }
< prev index next >