diff options
author | Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> | 2023-06-11 19:10:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-11 19:10:30 -0400 |
commit | 60ce06b02f8ece8bbbecb26cb69f9ad45e75aa16 (patch) | |
tree | a10d1bd160dd06f5b191adb1ad5cd12403790d48 /lib/compilers/kotlin.ts | |
parent | 910d69f233414ebfb0b680e012f44ced14505016 (diff) | |
download | compiler-explorer-60ce06b02f8ece8bbbecb26cb69f9ad45e75aa16.tar.gz compiler-explorer-60ce06b02f8ece8bbbecb26cb69f9ad45e75aa16.zip |
Improve cache handling on the frontend, cache executions on the backend, and improve controls on the exec pane (#5111)gh-7689
Diffstat (limited to 'lib/compilers/kotlin.ts')
-rw-r--r-- | lib/compilers/kotlin.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/compilers/kotlin.ts b/lib/compilers/kotlin.ts index 0b5cce585..9b1bab103 100644 --- a/lib/compilers/kotlin.ts +++ b/lib/compilers/kotlin.ts @@ -22,6 +22,7 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. +import {BypassCache} from '../../types/compilation/compilation.interfaces.js'; import type {PreliminaryCompilerInfo} from '../../types/compiler.interfaces.js'; import type {ParseFiltersAndOutputOptions} from '../../types/features/filters.interfaces.js'; @@ -98,7 +99,7 @@ export class KotlinCompiler extends JavaCompiler { ...key, options: ['-include-runtime', '-d', 'example.jar'], }; - const compileResult = await this.getOrBuildExecutable(alteredKey); + const compileResult = await this.getOrBuildExecutable(alteredKey, BypassCache.None); executeParameters.args = [ '-Xss136K', // Reduce thread stack size '-XX:CICompilerCount=2', // Reduce JIT compilation threads. 2 is minimum |