src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotCodeCacheProvider.java
equal
deleted
inserted
replaced
142 if (msg != null) { |
142 if (msg != null) { |
143 msg = String.format("Code installation failed: %s%n%s", resultDesc, msg); |
143 msg = String.format("Code installation failed: %s%n%s", resultDesc, msg); |
144 } else { |
144 } else { |
145 msg = String.format("Code installation failed: %s", resultDesc); |
145 msg = String.format("Code installation failed: %s", resultDesc); |
146 } |
146 } |
147 if (result == config.codeInstallResultDependenciesInvalid) { |
|
148 throw new AssertionError(resultDesc + " " + msg); |
|
149 } |
|
150 throw new BailoutException(result != config.codeInstallResultDependenciesFailed, msg); |
147 throw new BailoutException(result != config.codeInstallResultDependenciesFailed, msg); |
151 } else { |
148 } else { |
152 throw new BailoutException("Error installing %s: %s", ((HotSpotCompiledCode) compiledCode).getName(), resultDesc); |
149 throw new BailoutException("Error installing %s: %s", ((HotSpotCompiledCode) compiledCode).getName(), resultDesc); |
153 } |
150 } |
154 } |
151 } |