mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8031820: NPG: Fix remaining references to metadata as oops in comments
8012125: Comments for ConstantPoolCache should reflect the addition of resolved_references in ConstantPool Updated comments in metadata header files, and renamed this_oop variables to this_cp or this_k when referring to constant pool or classes. Reviewed-by: stefank, jmasa
This commit is contained in:
parent
3c58faecfe
commit
472622d900
13 changed files with 308 additions and 416 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2014, 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
|
||||
|
@ -102,8 +102,9 @@ class PSPromotionManager;
|
|||
// _f1 = Method* for non-virtual calls, unused by virtual calls.
|
||||
// for interface calls, which are essentially virtual but need a klass,
|
||||
// contains Klass* for the corresponding interface.
|
||||
// for invokedynamic, f1 contains a site-specific CallSite object (as an appendix)
|
||||
// for invokehandle, f1 contains a site-specific MethodType object (as an appendix)
|
||||
// for invokedynamic and invokehandle, f1 contains the adapter method which
|
||||
// manages the actual call. The appendix is stored in the ConstantPool
|
||||
// resolved_references array.
|
||||
// (upcoming metadata changes will move the appendix to a separate array)
|
||||
// _f2 = vtable/itable index (or final Method*) for virtual calls only,
|
||||
// unused by non-virtual. The is_vfinal flag indicates this is a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue