Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java @ 24151:26a414946c56 jvmci-0.29
Get host class of VM anonymous class (JDK-8182310)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 30 Jun 2017 17:09:57 +0200 |
parents | 11f0412408cd |
children | a86e69d2d92e |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java Wed Jun 28 06:27:49 2017 -0700 +++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java Fri Jun 30 17:09:57 2017 +0200 @@ -631,4 +631,9 @@ * {@link Long} */ native Object getFlagValue(String name); + + /** + * Gets the host class for {@code type}. + */ + native HotSpotResolvedObjectTypeImpl getHostClass(HotSpotResolvedObjectTypeImpl type); }