mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +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
|
@ -541,7 +541,7 @@ class CodeBuffer: public StackObj {
|
|||
bool insts_contains2(address pc) const { return _insts.contains2(pc); }
|
||||
|
||||
// Record any extra oops required to keep embedded metadata alive
|
||||
void finalize_oop_references(methodHandle method);
|
||||
void finalize_oop_references(const methodHandle& method);
|
||||
|
||||
// Allocated size in all sections, when aligned and concatenated
|
||||
// (this is the eventual state of the content in its final
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue