Open Revolution2021 opened 2 years ago
Hi,
can this be the same $PATH
problem as in your other ticket? What does java --version
print? I guess you are using a stock JDK here instead of GraalVM (despite being inside the GraalVM folder).
While you are in the graalvm-ce-java11-21.3.0
folder, if your $PATH
is not set up properly (containing /opt/graalvm-ce-java11-21.3.0/bin
before all other java locations) then probably another (non-GraalVM) java is use. Stock JDK does support the UseJVMCICompiler
option, but requires the UnlockExperimentalVMOptions
flag in addition.
Christian
Sorry, one more question. In the article(https://medium.com/graalvm/graalvm-ten-things-12d9111f307d ), the following is written.
>To run without the GraalVM JIT compiler to compare, I can use the flag -XX:-UseJVMCICompiler. JVMCI is the interface between GraalVM and the JVM. You could also compare against your standard JVM as well.
However, in my environment, it doesn't work.
I think, the below is correct. time java -XX:+UnlockExperimentalVMOptions -XX:+UseJVMCICompiler TopTen large.txt
The below is the successful result for your reference. Is that just a mistake or caused by my environment , GraalVM(CE) + Ubuntu20?
Regards,