From d2f2da7482900e0a62965268808e121470e73819 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 f33d51b32..dc20db6e2 100644 --- a/pom.xml +++ b/pom.xml @@ -12,9 +12,9 @@ UTF-8 - 17 - 17 - 17 + 21 + 21 + 21 ${project.basedir}/target