mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8268829: Provide an optimized way to walk the stack with Class object only
8210375: StackWalker::getCallerClass throws UnsupportedOperationException Reviewed-by: coleenp, dfuchs, bchristi
This commit is contained in:
parent
716201c77d
commit
111ecdbaf5
34 changed files with 982 additions and 622 deletions
|
@ -116,6 +116,7 @@ class MethodHandleNatives {
|
|||
MN_IS_TYPE = 0x00080000, // nested type
|
||||
MN_CALLER_SENSITIVE = 0x00100000, // @CallerSensitive annotation detected
|
||||
MN_TRUSTED_FINAL = 0x00200000, // trusted final field
|
||||
MN_HIDDEN_MEMBER = 0x00400000, // members defined in a hidden class or with @Hidden
|
||||
MN_REFERENCE_KIND_SHIFT = 24, // refKind
|
||||
MN_REFERENCE_KIND_MASK = 0x0F000000 >> MN_REFERENCE_KIND_SHIFT;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue