--- old/src/cpu/zero/vm/interpreterRT_zero.hpp 2017-07-27 08:48:31.886585800 -0400 +++ new/src/cpu/zero/vm/interpreterRT_zero.hpp 2017-07-27 08:48:31.565493247 -0400 @@ -67,7 +67,7 @@ ffi_cif* _cif; protected: - SignatureHandlerGeneratorBase(methodHandle method, ffi_cif *cif) + SignatureHandlerGeneratorBase(const methodHandle& method, ffi_cif *cif) : NativeSignatureIterator(method), _cif(cif) { _cif->nargs = 0; } @@ -96,7 +96,7 @@ CodeBuffer* _cb; public: - SignatureHandlerGenerator(methodHandle method, CodeBuffer* buffer) + SignatureHandlerGenerator(const methodHandle& method, CodeBuffer* buffer) : SignatureHandlerGeneratorBase(method, (ffi_cif *) buffer->insts_end()), _cb(buffer) { _cb->set_insts_end((address) (cif() + 1)); @@ -115,7 +115,7 @@ intptr_t *_dst; public: - SlowSignatureHandlerGenerator(methodHandle method, intptr_t* buf) + SlowSignatureHandlerGenerator(const methodHandle& method, intptr_t* buf) : SignatureHandlerGeneratorBase(method, (ffi_cif *) buf) { _dst = (intptr_t *) (cif() + 1); }