mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6893268: additional dynamic language related optimizations in C2
C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance. Reviewed-by: kvn, never
This commit is contained in:
parent
375527d84e
commit
47f2433a58
52 changed files with 1781 additions and 342 deletions
|
@ -43,6 +43,8 @@ class ciTypeFlow;
|
|||
class ciObject;
|
||||
class ciNullObject;
|
||||
class ciInstance;
|
||||
class ciCallSite;
|
||||
class ciMethodHandle;
|
||||
class ciMethod;
|
||||
class ciMethodData;
|
||||
class ciReceiverTypeData; // part of ciMethodData
|
||||
|
@ -79,6 +81,7 @@ friend class ciObjectFactory;
|
|||
// Any more access must be given explicitly.
|
||||
#define CI_PACKAGE_ACCESS_TO \
|
||||
friend class ciObjectFactory; \
|
||||
friend class ciCallSite; \
|
||||
friend class ciConstantPoolCache; \
|
||||
friend class ciField; \
|
||||
friend class ciConstant; \
|
||||
|
@ -94,6 +97,7 @@ friend class ciNullObject; \
|
|||
friend class ciInstance; \
|
||||
friend class ciMethod; \
|
||||
friend class ciMethodData; \
|
||||
friend class ciMethodHandle; \
|
||||
friend class ciReceiverTypeData; \
|
||||
friend class ciSymbol; \
|
||||
friend class ciArray; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue