mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8267612: Declare package-private VarHandle.AccessMode/AccessType counts
Reviewed-by: mchung
This commit is contained in:
parent
a52c4ede2f
commit
66b190e1e7
4 changed files with 16 additions and 10 deletions
|
@ -55,8 +55,8 @@ class Invokers {
|
|||
INV_GENERIC = 1, // MethodHandles.invoker (generic invocation)
|
||||
INV_BASIC = 2, // MethodHandles.basicInvoker
|
||||
VH_INV_EXACT = 3, // MethodHandles.varHandleExactInvoker
|
||||
VH_INV_GENERIC = VH_INV_EXACT + VarHandle.AccessMode.values().length, // MethodHandles.varHandleInvoker
|
||||
INV_LIMIT = VH_INV_GENERIC + VarHandle.AccessMode.values().length;
|
||||
VH_INV_GENERIC = VH_INV_EXACT + VarHandle.AccessMode.COUNT, // MethodHandles.varHandleInvoker
|
||||
INV_LIMIT = VH_INV_GENERIC + VarHandle.AccessMode.COUNT;
|
||||
|
||||
/** Compute and cache information common to all collecting adapters
|
||||
* that implement members of the erasure-family of the given erased type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue