< prev index next >

src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotCodeCacheProvider.java

Print this page

        

*** 40,56 **** * HotSpot implementation of {@link CodeCacheProvider}. */ public class HotSpotCodeCacheProvider implements CodeCacheProvider { protected final HotSpotJVMCIRuntime runtime; ! protected final HotSpotVMConfig config; protected final TargetDescription target; protected final RegisterConfig regConfig; ! public HotSpotCodeCacheProvider(HotSpotJVMCIRuntime runtime, HotSpotVMConfig config, TargetDescription target, RegisterConfig regConfig) { this.runtime = runtime; ! this.config = config; this.target = target; this.regConfig = regConfig; } @Override --- 40,56 ---- * HotSpot implementation of {@link CodeCacheProvider}. */ public class HotSpotCodeCacheProvider implements CodeCacheProvider { protected final HotSpotJVMCIRuntime runtime; ! private final HotSpotVMConfig config; protected final TargetDescription target; protected final RegisterConfig regConfig; ! public HotSpotCodeCacheProvider(HotSpotJVMCIRuntime runtime, TargetDescription target, RegisterConfig regConfig) { this.runtime = runtime; ! this.config = runtime.getConfig(); this.target = target; this.regConfig = regConfig; } @Override
*** 89,99 **** return regConfig; } @Override public int getMinimumOutgoingSize() { ! return runtime.getConfig().runtimeCallStackSize; } private InstalledCode logOrDump(InstalledCode installedCode, CompiledCode compiledCode) { runtime.notifyInstall(this, installedCode, compiledCode); return installedCode; --- 89,99 ---- return regConfig; } @Override public int getMinimumOutgoingSize() { ! return config.runtimeCallStackSize; } private InstalledCode logOrDump(InstalledCode installedCode, CompiledCode compiledCode) { runtime.notifyInstall(this, installedCode, compiledCode); return installedCode;
< prev index next >