From 0d098e621d5f7a17428b83406b26b5caac0ba0ca Mon Sep 17 00:00:00 2001 From: Evgeniy Ivanov Date: Sun, 26 Nov 2023 17:44:41 +0100 Subject: [PATCH] switch to java 21 and add option 'vt' to use virtual threads (#395) --- pom.xml | 6 +++--- src/main/java/com/oltpbenchmark/DBWorkload.java | 11 ++++++++--- .../java/com/oltpbenchmark/ThreadBench.java | 17 +++++++++++++---- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index 8993d4342..dc1442101 100644 --- a/pom.xml +++ b/pom.xml @@ -12,9 +12,9 @@ UTF-8 - 17 - 17 - 17 + 21 + 21 + 21 ${project.basedir}/target