src/jdk.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotLIRGenerator.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/jdk.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotLIRGenerator.java

src/jdk.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotLIRGenerator.java

Print this page

        

*** 20,29 **** --- 20,30 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package org.graalvm.compiler.hotspot; + import org.graalvm.compiler.core.common.LIRKind; import org.graalvm.compiler.debug.GraalError; import org.graalvm.compiler.hotspot.meta.HotSpotConstantLoadAction; import org.graalvm.compiler.hotspot.meta.HotSpotProviders; import org.graalvm.compiler.hotspot.nodes.DeoptimizationFetchUnrollInfoCallNode; import org.graalvm.compiler.hotspot.nodes.EnterUnpackFramesStackFrameNode;
*** 139,214 **** } /** * Emits code for a {@link LoadConstantIndirectlyNode}. * ! * @param constant * @return Value of loaded address in register */ - @SuppressWarnings("unused") default Value emitLoadMetaspaceAddress(Constant constant, HotSpotConstantLoadAction action) { throw GraalError.unimplemented(); } /** * Emits code for a {@link GraalHotSpotVMConfigNode}. * ! * @param markId type of address to load * @return value of loaded global in register */ ! default Value emitLoadConfigValue(int markId) { throw GraalError.unimplemented(); } /** * Emits code for a {@link ResolveConstantNode} to resolve a {@link HotSpotObjectConstant}. * * @param constantDescription a description of the string that need to be materialized (and * interned) as java.lang.String, generated with {@link EncodedSymbolConstant} * @return Returns the address of the requested constant. */ - @SuppressWarnings("unused") default Value emitObjectConstantRetrieval(Constant constant, Value constantDescription, LIRFrameState frameState) { throw GraalError.unimplemented(); } /** * Emits code for a {@link ResolveConstantNode} to resolve a {@link HotSpotMetaspaceConstant}. * * @param constantDescription a symbolic description of the {@link HotSpotMetaspaceConstant} * generated by {@link EncodedSymbolConstant} * @return Returns the address of the requested constant. */ - @SuppressWarnings("unused") default Value emitMetaspaceConstantRetrieval(Constant constant, Value constantDescription, LIRFrameState frameState) { throw GraalError.unimplemented(); } /** * Emits code for a {@link ResolveMethodAndLoadCountersNode} to resolve a * {@link HotSpotMetaspaceConstant} that represents a {@link ResolvedJavaMethod} and return the * corresponding MethodCounters object. * * @param klassHint a klass in which the method is declared * @param methodDescription is symbolic description of the constant generated by * {@link EncodedSymbolConstant} * @return Returns the address of the requested constant. */ - @SuppressWarnings("unused") default Value emitResolveMethodAndLoadCounters(Constant method, Value klassHint, Value methodDescription, LIRFrameState frameState) { throw GraalError.unimplemented(); } /** * Emits code for a {@link ResolveConstantNode} to resolve a klass * {@link HotSpotMetaspaceConstant} and run static initializer. * * @param constantDescription a symbolic description of the {@link HotSpotMetaspaceConstant} * generated by {@link EncodedSymbolConstant} * @return Returns the address of the requested constant. */ - @SuppressWarnings("unused") default Value emitKlassInitializationAndRetrieval(Constant constant, Value constantDescription, LIRFrameState frameState) { throw GraalError.unimplemented(); } /** --- 140,221 ---- } /** * Emits code for a {@link LoadConstantIndirectlyNode}. * ! * @param constant original constant ! * @param action action to perform on the metaspace object * @return Value of loaded address in register */ default Value emitLoadMetaspaceAddress(Constant constant, HotSpotConstantLoadAction action) { throw GraalError.unimplemented(); } /** * Emits code for a {@link GraalHotSpotVMConfigNode}. * ! * @param markId id of the value to load ! * @param kind type of the value to load * @return value of loaded global in register */ ! default Value emitLoadConfigValue(int markId, LIRKind kind) { throw GraalError.unimplemented(); } /** * Emits code for a {@link ResolveConstantNode} to resolve a {@link HotSpotObjectConstant}. * + * @param constant original constant * @param constantDescription a description of the string that need to be materialized (and * interned) as java.lang.String, generated with {@link EncodedSymbolConstant} + * @param frameState frame state for the runtime call * @return Returns the address of the requested constant. */ default Value emitObjectConstantRetrieval(Constant constant, Value constantDescription, LIRFrameState frameState) { throw GraalError.unimplemented(); } /** * Emits code for a {@link ResolveConstantNode} to resolve a {@link HotSpotMetaspaceConstant}. * + * @param constant original constant * @param constantDescription a symbolic description of the {@link HotSpotMetaspaceConstant} * generated by {@link EncodedSymbolConstant} + * @param frameState frame state for the runtime call * @return Returns the address of the requested constant. */ default Value emitMetaspaceConstantRetrieval(Constant constant, Value constantDescription, LIRFrameState frameState) { throw GraalError.unimplemented(); } /** * Emits code for a {@link ResolveMethodAndLoadCountersNode} to resolve a * {@link HotSpotMetaspaceConstant} that represents a {@link ResolvedJavaMethod} and return the * corresponding MethodCounters object. * + * @param method original constant * @param klassHint a klass in which the method is declared * @param methodDescription is symbolic description of the constant generated by * {@link EncodedSymbolConstant} + * @param frameState frame state for the runtime call * @return Returns the address of the requested constant. */ default Value emitResolveMethodAndLoadCounters(Constant method, Value klassHint, Value methodDescription, LIRFrameState frameState) { throw GraalError.unimplemented(); } /** * Emits code for a {@link ResolveConstantNode} to resolve a klass * {@link HotSpotMetaspaceConstant} and run static initializer. * + * + * @param constant original constant * @param constantDescription a symbolic description of the {@link HotSpotMetaspaceConstant} * generated by {@link EncodedSymbolConstant} + * @param frameState frame state for the runtime call * @return Returns the address of the requested constant. */ default Value emitKlassInitializationAndRetrieval(Constant constant, Value constantDescription, LIRFrameState frameState) { throw GraalError.unimplemented(); } /**
src/jdk.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/HotSpotLIRGenerator.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File