diff options
author | 2018-05-24 15:19:52 +0100 | |
---|---|---|
committer | 2018-05-25 11:37:45 +0100 | |
commit | c7aa87e1666ac48ddf9149cfdfd64b026b3969e5 (patch) | |
tree | 32d5d74718cc558e13642873e55724782ac9df22 /runtime/class_root.h | |
parent | 0278be74269fcfe4f2517d449f2bd53472f9b2f9 (diff) |
Remove static_class_ from Method/VarHandle and CallSite.
And add MethodHandle to the class roots to avoid extra
indirection through MethodHandleImpl.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 31113334
Change-Id: Iaf172f3732677f2b4509e8297e6e9af5fb81a89f
Diffstat (limited to 'runtime/class_root.h')
-rw-r--r-- | runtime/class_root.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/class_root.h b/runtime/class_root.h index f43e2c6920..5c7819841b 100644 --- a/runtime/class_root.h +++ b/runtime/class_root.h @@ -68,6 +68,7 @@ class VarHandle; M(kJavaLangReflectFieldArrayClass, "[Ljava/lang/reflect/Field;", mirror::ObjectArray<mirror::Field>) \ M(kJavaLangReflectMethodArrayClass, "[Ljava/lang/reflect/Method;", mirror::ObjectArray<mirror::Method>) \ M(kJavaLangInvokeCallSite, "Ljava/lang/invoke/CallSite;", mirror::CallSite) \ + M(kJavaLangInvokeMethodHandle, "Ljava/lang/invoke/MethodHandle;", mirror::MethodHandle) \ M(kJavaLangInvokeMethodHandleImpl, "Ljava/lang/invoke/MethodHandleImpl;", mirror::MethodHandleImpl) \ M(kJavaLangInvokeMethodHandlesLookup, "Ljava/lang/invoke/MethodHandles$Lookup;", mirror::MethodHandlesLookup) \ M(kJavaLangInvokeMethodType, "Ljava/lang/invoke/MethodType;", mirror::MethodType) \ |