From 7dce042d6a71bc0e3490bff9c4fe1a02306b4da3 Mon Sep 17 00:00:00 2001 From: Benjamin Prud'homme Date: Sun, 20 Oct 2024 12:55:36 -0400 Subject: [PATCH] Fiber refactorings --- .../test/java/org/roaringbitmap/buffer/TestMemoryMapping.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RoaringBitmap/src/test/java/org/roaringbitmap/buffer/TestMemoryMapping.java b/RoaringBitmap/src/test/java/org/roaringbitmap/buffer/TestMemoryMapping.java index 1605cabfc..fc39d3874 100644 --- a/RoaringBitmap/src/test/java/org/roaringbitmap/buffer/TestMemoryMapping.java +++ b/RoaringBitmap/src/test/java/org/roaringbitmap/buffer/TestMemoryMapping.java @@ -380,7 +380,7 @@ public void multithreadingTest() throws InterruptedException, IOException { final CountDownLatch ready = new CountDownLatch(numThreads); final CountDownLatch finished = new CountDownLatch(numThreads); - ExecutorService executorService = Executors.newFixedThreadPool(numThreads); + ExecutorService executorService = Executors.newVirtualThreadPerTaskExecutor(); for (int i = 0; i < numThreads; i++) { final int ti = i;