Top Description Fields Constructors Methods
java.lang.invoke

pack-priv Class MethodHandleStatics

extends Object
Class Inheritance
Imports
jdk.internal.misc.CDS, .Unsafe, jdk.internal.util.ClassFileDumper, sun.security.action.GetPropertyAction, java.lang.reflect.ClassFileFormatVersion, java.util.Properties

This class consists exclusively of static names internal to the method handle implementation. Usage: import static java.lang.invoke.MethodHandleStatics.*
Author
John Rose, JSR 292 EG

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final boolean
pack-priv static final int
pack-priv static final ClassFileDumper
pack-priv static final boolean
pack-priv static final int
pack-priv static final boolean
pack-priv static final int
pack-priv static final boolean
pack-priv static final boolean
pack-priv static final boolean
pack-priv static final Unsafe
pack-priv static final boolean
pack-priv static final boolean
pack-priv static final boolean

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static boolean
debugEnabled()

Tell if any of the debugging switches are turned on.

pack-priv static ClassFileDumper
private static String
message(String message, Object obj)

private static String
message(String message, Object obj, Object obj2)

pack-priv static RuntimeException
pack-priv static RuntimeException
pack-priv static RuntimeException
pack-priv static RuntimeException
pack-priv static RuntimeException
pack-priv static InternalError
pack-priv static InternalError
pack-priv static InternalError
pack-priv static void
traceLambdaForm(String name, MethodType type, Class<?> holder, MemberName resolvedMember)

If requested, logs the result of resolving the LambdaForm to stdout and informs the CDS subsystem about it.

pack-priv static void
traceSpeciesType(String cn, Class<?> salvage)

If requested, logs the result of resolving the species type to stdout and the CDS subsystem.

pack-priv static Error
uncaughtException(Throwable ex)

Propagate unchecked exceptions and errors, but wrap anything checked and throw that instead.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLASSFILE_VERSIONback to summary
pack-priv static final int CLASSFILE_VERSION
COMPILE_THRESHOLDback to summary
pack-priv static final int COMPILE_THRESHOLD
CUSTOMIZE_THRESHOLDback to summary
pack-priv static final int CUSTOMIZE_THRESHOLD
DEBUG_METHOD_HANDLE_NAMESback to summary
pack-priv static final boolean DEBUG_METHOD_HANDLE_NAMES
DONT_INLINE_THRESHOLDback to summary
pack-priv static final int DONT_INLINE_THRESHOLD
DUMP_CLASS_FILESback to summary
pack-priv static final ClassFileDumper DUMP_CLASS_FILES
LOG_LF_COMPILATION_FAILUREback to summary
pack-priv static final boolean LOG_LF_COMPILATION_FAILURE
MAX_ARITYback to summary
pack-priv static final int MAX_ARITY
PROFILE_GWTback to summary
pack-priv static final boolean PROFILE_GWT
PROFILE_LEVELback to summary
pack-priv static final int PROFILE_LEVEL
TRACE_INTERPRETERback to summary
pack-priv static final boolean TRACE_INTERPRETER
TRACE_METHOD_LINKAGEback to summary
pack-priv static final boolean TRACE_METHOD_LINKAGE
TRACE_RESOLVEback to summary
pack-priv static final boolean TRACE_RESOLVE
UNSAFEback to summary
pack-priv static final Unsafe UNSAFE
VAR_HANDLE_GUARDSback to summary
pack-priv static final boolean VAR_HANDLE_GUARDS
VAR_HANDLE_IDENTITY_ADAPTback to summary
pack-priv static final boolean VAR_HANDLE_IDENTITY_ADAPT
VAR_HANDLE_SEGMENT_FORCE_EXACTback to summary
pack-priv static final boolean VAR_HANDLE_SEGMENT_FORCE_EXACT

Constructor Detail

MethodHandleStaticsback to summary
private MethodHandleStatics()

Method Detail

debugEnabledback to summary
pack-priv static boolean debugEnabled()

Tell if any of the debugging switches are turned on. If this is the case, it is reasonable to perform extra checks or save extra information.

dumperback to summary
pack-priv static ClassFileDumper dumper()
messageback to summary
private static String message(String message, Object obj)
messageback to summary
private static String message(String message, Object obj, Object obj2)
newIllegalArgumentExceptionback to summary
pack-priv static RuntimeException newIllegalArgumentException(String message)
newIllegalArgumentExceptionback to summary
pack-priv static RuntimeException newIllegalArgumentException(String message, Object obj)
newIllegalArgumentExceptionback to summary
pack-priv static RuntimeException newIllegalArgumentException(String message, Object obj, Object obj2)
newIllegalStateExceptionback to summary
pack-priv static RuntimeException newIllegalStateException(String message)
newIllegalStateExceptionback to summary
pack-priv static RuntimeException newIllegalStateException(String message, Object obj)
newInternalErrorback to summary
pack-priv static InternalError newInternalError(String message)
newInternalErrorback to summary
pack-priv static InternalError newInternalError(String message, Exception cause)
newInternalErrorback to summary
pack-priv static InternalError newInternalError(Exception cause)
traceLambdaFormback to summary
pack-priv static void traceLambdaForm(String name, MethodType type, Class<?> holder, MemberName resolvedMember)

If requested, logs the result of resolving the LambdaForm to stdout and informs the CDS subsystem about it.

traceSpeciesTypeback to summary
pack-priv static void traceSpeciesType(String cn, Class<?> salvage)

If requested, logs the result of resolving the species type to stdout and the CDS subsystem.

uncaughtExceptionback to summary
pack-priv static Error uncaughtException(Throwable ex)

Propagate unchecked exceptions and errors, but wrap anything checked and throw that instead.