< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java

Print this page




 463      */
 464     native boolean isMature(long metaspaceMethodData);
 465 
 466     /**
 467      * Generate a unique id to identify the result of the compile.
 468      */
 469     native int allocateCompileId(HotSpotResolvedJavaMethodImpl method, int entryBCI);
 470 
 471     /**
 472      * Determines if {@code method} has OSR compiled code identified by {@code entryBCI} for
 473      * compilation level {@code level}.
 474      */
 475     native boolean hasCompiledCodeForOSR(HotSpotResolvedJavaMethodImpl method, int entryBCI, int level);
 476 
 477     /**
 478      * Gets the value of {@code metaspaceSymbol} as a String.
 479      */
 480     native String getSymbol(long metaspaceSymbol);
 481 
 482     /**
 483      * Lookup a VMSymbol from a String.
 484      */
 485     native long lookupSymbol(String symbol);
 486 
 487     /**
 488      * Looks for the next Java stack frame matching an entry in {@code methods}.
 489      *
 490      * @param frame the starting point of the search, where {@code null} refers to the topmost frame
 491      * @param methods the methods to look for, where {@code null} means that any frame is returned
 492      * @return the frame, or {@code null} if the end of the stack was reached during the search
 493      */
 494     native HotSpotStackFrameReference getNextStackFrame(HotSpotStackFrameReference frame, ResolvedJavaMethod[] methods, int initialSkip);
 495 
 496     /**
 497      * Materializes all virtual objects within {@code stackFrame} updates its locals.
 498      *
 499      * @param invalidate if {@code true}, the compiled method for the stack frame will be
 500      *            invalidated.
 501      */
 502     native void materializeVirtualObjects(HotSpotStackFrameReference stackFrame, boolean invalidate);
 503 
 504     /**
 505      * Gets the v-table index for interface method {@code method} in the receiver {@code type} or
 506      * {@link HotSpotVMConfig#invalidVtableIndex} if {@code method} is not in {@code type}'s
 507      * v-table.




 463      */
 464     native boolean isMature(long metaspaceMethodData);
 465 
 466     /**
 467      * Generate a unique id to identify the result of the compile.
 468      */
 469     native int allocateCompileId(HotSpotResolvedJavaMethodImpl method, int entryBCI);
 470 
 471     /**
 472      * Determines if {@code method} has OSR compiled code identified by {@code entryBCI} for
 473      * compilation level {@code level}.
 474      */
 475     native boolean hasCompiledCodeForOSR(HotSpotResolvedJavaMethodImpl method, int entryBCI, int level);
 476 
 477     /**
 478      * Gets the value of {@code metaspaceSymbol} as a String.
 479      */
 480     native String getSymbol(long metaspaceSymbol);
 481 
 482     /**





 483      * Looks for the next Java stack frame matching an entry in {@code methods}.
 484      *
 485      * @param frame the starting point of the search, where {@code null} refers to the topmost frame
 486      * @param methods the methods to look for, where {@code null} means that any frame is returned
 487      * @return the frame, or {@code null} if the end of the stack was reached during the search
 488      */
 489     native HotSpotStackFrameReference getNextStackFrame(HotSpotStackFrameReference frame, ResolvedJavaMethod[] methods, int initialSkip);
 490 
 491     /**
 492      * Materializes all virtual objects within {@code stackFrame} updates its locals.
 493      *
 494      * @param invalidate if {@code true}, the compiled method for the stack frame will be
 495      *            invalidated.
 496      */
 497     native void materializeVirtualObjects(HotSpotStackFrameReference stackFrame, boolean invalidate);
 498 
 499     /**
 500      * Gets the v-table index for interface method {@code method} in the receiver {@code type} or
 501      * {@link HotSpotVMConfig#invalidVtableIndex} if {@code method} is not in {@code type}'s
 502      * v-table.


< prev index next >