File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
core/trino-main/src/main/java/io/trino/server Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ private static void verifyJvmRequirements()
5353 verifyOsArchitecture ();
5454 verifyByteOrder ();
5555 verifyUsingG1Gc ();
56+ verifyVectorApiEnabled ();
5657 verifyUnixOperatingMBeans ();
5758 verifyFileDescriptor ();
5859 verifySlice ();
@@ -129,6 +130,13 @@ private static void verifyUsingG1Gc()
129130 }
130131 }
131132
133+ private static void verifyVectorApiEnabled ()
134+ {
135+ if (ModuleLayer .boot ().findModule ("jdk.incubator.vector" ).isEmpty ()) {
136+ failRequirement ("Trino requires the Vector API to be enabled/linked at runtime" );
137+ }
138+ }
139+
132140 private static void verifyFileDescriptor ()
133141 {
134142 long maxFileDescriptorCount = getMaxFileDescriptorCount ();
You can’t perform that action at this time.
0 commit comments