diff -r bda5211e7876 -r abf1d797e380 src/hotspot/cpu/sparc/compiledIC_sparc.cpp --- a/src/hotspot/cpu/sparc/compiledIC_sparc.cpp Thu Dec 21 09:05:32 2017 +0100 +++ b/src/hotspot/cpu/sparc/compiledIC_sparc.cpp Wed Jan 03 17:29:20 2018 +0000 @@ -73,6 +73,11 @@ } #undef __ +int CompiledStaticCall::to_trampoline_stub_size() { + // SPARC doesn't use trampolines. + return 0; +} + int CompiledStaticCall::to_interp_stub_size() { // This doesn't need to be accurate but it must be larger or equal to // the real size of the stub.