comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java @ 23741:6542cd8da2da

include VarHandle in signature polymorphic method test (JDK-8164214)
author Doug Simon <doug.simon@oracle.com>
date Tue, 23 Aug 2016 22:58:50 +0200
parents 1140503536ae
children d6bd0b9cd0b6
comparison
equal deleted inserted replaced
23740:724fbad94ee3 23741:6542cd8da2da
243 * {@code JVM_CONSTANT_InvokeDynamic} entry. 243 * {@code JVM_CONSTANT_InvokeDynamic} entry.
244 */ 244 */
245 native void resolveInvokeDynamicInPool(HotSpotConstantPool constantPool, int cpi); 245 native void resolveInvokeDynamicInPool(HotSpotConstantPool constantPool, int cpi);
246 246
247 /** 247 /**
248 * Ensures that the type referenced by the entry for a 248 * If {@code cpi} denotes an entry representing a
249 * <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-2.html#jvms-2.9">signature 249 * <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-2.html#jvms-2.9">signature
250 * polymorphic</a> method at index {@code cpi} in {@code constantPool} is loaded and 250 * polymorphic</a> method, this method ensures that the type referenced by the entry is loaded
251 * initialized. 251 * and initialized. It {@code cpi} does not denote a signature polymorphic method, this method
252 * 252 * does nothing.
253 * The behavior of this method is undefined if {@code cpi} does not denote an entry representing
254 * a signature polymorphic method.
255 */ 253 */
256 native void resolveInvokeHandleInPool(HotSpotConstantPool constantPool, int cpi); 254 native void resolveInvokeHandleInPool(HotSpotConstantPool constantPool, int cpi);
255
256 /**
257 * Gets the list of type names (in the format of {@link JavaType#getName()}) denoting the
258 * classes that define signature polymorphic methods.
259 */
260 native String[] getSignaturePolymorphicHolders();
257 261
258 /** 262 /**
259 * Gets the resolved type denoted by the entry at index {@code cpi} in {@code constantPool}. 263 * Gets the resolved type denoted by the entry at index {@code cpi} in {@code constantPool}.
260 * 264 *
261 * The behavior of this method is undefined if {@code cpi} does not denote an entry representing 265 * The behavior of this method is undefined if {@code cpi} does not denote an entry representing