diff -r d7e1e002b496 -r c4567d28f31f src/share/vm/opto/library_call.cpp --- a/src/share/vm/opto/library_call.cpp Mon Jun 17 17:20:10 2019 +0100 +++ b/src/share/vm/opto/library_call.cpp Tue Jun 18 09:33:34 2019 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2019, 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 @@ -6759,10 +6759,18 @@ if (state == NULL) return false; // Call the stub. - Node* call = make_runtime_call(RC_LEAF|RC_NO_FP, - OptoRuntime::digestBase_implCompressMB_Type(), - stubAddr, stubName, TypePtr::BOTTOM, - src_start, state, ofs, limit); + Node *call; + if (CCallingConventionRequiresIntsAsLongs) { + call = make_runtime_call(RC_LEAF|RC_NO_FP, + OptoRuntime::digestBase_implCompressMB_Type(), + stubAddr, stubName, TypePtr::BOTTOM, + src_start, state, ofs XTOP, limit XTOP); + } else { + call = make_runtime_call(RC_LEAF|RC_NO_FP, + OptoRuntime::digestBase_implCompressMB_Type(), + stubAddr, stubName, TypePtr::BOTTOM, + src_start, state, ofs, limit); + } // return ofs (int) Node* result = _gvn.transform(new (C) ProjNode(call, TypeFunc::Parms)); set_result(result);