# HG changeset patch # User bulasevich # Date 1526062787 -10800 # Node ID cd4bf3b1ee778012e7468e5a7ab695135a5c747a # Parent 66b0f0134aad94d7aec720f99d4371fb0ec705d4 8201604: ARM64 - Build failure after JDK-8193260 Reviewed-by: aph diff -r 66b0f0134aad -r cd4bf3b1ee77 src/hotspot/cpu/arm/compiledIC_arm.cpp --- a/src/hotspot/cpu/arm/compiledIC_arm.cpp Fri May 11 10:39:04 2018 -0700 +++ b/src/hotspot/cpu/arm/compiledIC_arm.cpp Fri May 11 21:19:47 2018 +0300 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2018, Oracle and/or its affiliates. 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 @@ -91,6 +91,11 @@ } #endif // COMPILER2_OR_JVMCI +int CompiledStaticCall::to_trampoline_stub_size() { + // ARM doesn't use trampolines. + return 0; +} + // size of C2 call stub, compiled java to interpretor int CompiledStaticCall::to_interp_stub_size() { return 8 * NativeInstruction::instruction_size; diff -r 66b0f0134aad -r cd4bf3b1ee77 src/hotspot/cpu/arm/jvmciCodeInstaller_arm.cpp --- a/src/hotspot/cpu/arm/jvmciCodeInstaller_arm.cpp Fri May 11 10:39:04 2018 -0700 +++ b/src/hotspot/cpu/arm/jvmciCodeInstaller_arm.cpp Fri May 11 21:19:47 2018 +0300 @@ -52,7 +52,7 @@ Unimplemented(); } -void CodeInstaller::pd_relocate_JavaMethod(Handle hotspot_method, jint pc_offset, TRAPS) { +void CodeInstaller::pd_relocate_JavaMethod(CodeBuffer &cbuf, Handle hotspot_method, jint pc_offset, TRAPS) { Unimplemented(); }