Index: test/mjsunit/manual-parallel-recompile.js |
diff --git a/test/mjsunit/manual-parallel-recompile.js b/test/mjsunit/manual-parallel-recompile.js |
index 84bfff1a5735c7162b326a190227e24d8186ef06..0a0e61d5248c37ca35534f3f84cb1efd09c3e597 100644 |
--- a/test/mjsunit/manual-parallel-recompile.js |
+++ b/test/mjsunit/manual-parallel-recompile.js |
@@ -26,10 +26,10 @@ |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
// Flags: --allow-natives-syntax --expose-gc |
-// Flags: --parallel-recompilation --parallel-recompilation-delay=50 |
+// Flags: --concurrent-recompilation --concurrent-recompilation-delay=50 |
-if (!%IsParallelRecompilationSupported()) { |
- print("Parallel recompilation is disabled. Skipping this test."); |
+if (!%IsConcurrentRecompilationSupported()) { |
+ print("Concurrent recompilation is disabled. Skipping this test."); |
quit(); |
} |
@@ -53,12 +53,12 @@ f(g(1)); |
assertUnoptimized(f); |
assertUnoptimized(g); |
-%OptimizeFunctionOnNextCall(f, "parallel"); |
-%OptimizeFunctionOnNextCall(g, "parallel"); |
+%OptimizeFunctionOnNextCall(f, "concurrent"); |
+%OptimizeFunctionOnNextCall(g, "concurrent"); |
f(g(2)); // Trigger optimization. |
-assertUnoptimized(f, "no sync"); // Not yet optimized while parallel thread |
+assertUnoptimized(f, "no sync"); // Not yet optimized while background thread |
assertUnoptimized(g, "no sync"); // is running. |
-assertOptimized(f, "sync"); // Optimized once we sync with the parallel thread. |
-assertOptimized(g, "sync"); |
+assertOptimized(f, "sync"); // Optimized once we sync with the |
+assertOptimized(g, "sync"); // background thread. |