Skip to content

Commit

Permalink
Fix polybench ctw launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
c-refice committed Feb 12, 2024
1 parent f3f87fc commit 44b09ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,11 @@ public CompileTheWorld(HotSpotJVMCIRuntime jvmciRuntime,
* {@link #SUN_BOOT_CLASS_PATH} the boot classes are used.
*/
public void compile() throws Throwable {
compileAll(prepare(), compilerOptions);
compile(prepare());
}

public void compile(List<Compilation> compilations) throws Throwable {
compileAll(compilations, compilerOptions);
}

public void println() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ public void run() {
Object ctw = ctwArgs[0];
Object compilations = ctwArgs[1];
try {
Method compileMethod = ctw.getClass().getDeclaredMethod("compile", compilations.getClass());
Method compileMethod = ctw.getClass().getDeclaredMethod("compile", List.class);
compileMethod.invoke(ctw, compilations);

// Force a GC to encourage reclamation of nmethods when their InstalledCode
Expand Down

0 comments on commit 44b09ed

Please sign in to comment.