mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8140274: methodHandles and constantPoolHandles should be passed as const references
Modified code to use const reference parameters Reviewed-by: sspitsyn, twisti
This commit is contained in:
parent
686fb800c8
commit
f1e89ea4cc
111 changed files with 521 additions and 515 deletions
|
@ -558,7 +558,7 @@ void nmethod::init_defaults() {
|
|||
#endif
|
||||
}
|
||||
|
||||
nmethod* nmethod::new_native_nmethod(methodHandle method,
|
||||
nmethod* nmethod::new_native_nmethod(const methodHandle& method,
|
||||
int compile_id,
|
||||
CodeBuffer *code_buffer,
|
||||
int vep_offset,
|
||||
|
@ -596,7 +596,7 @@ nmethod* nmethod::new_native_nmethod(methodHandle method,
|
|||
return nm;
|
||||
}
|
||||
|
||||
nmethod* nmethod::new_nmethod(methodHandle method,
|
||||
nmethod* nmethod::new_nmethod(const methodHandle& method,
|
||||
int compile_id,
|
||||
int entry_bci,
|
||||
CodeOffsets* offsets,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue