← Back to team overview

bazel-team team mailing list archive

Re: Potential bug in openjdk-11 on mips64el

 

On 2/15/21 1:40 AM, Olek Wojnar wrote:
> Done! [1] Unfortunately, I don't see anything useful there but perhaps one
> of you will.
> 
> -Olek
> 
> [1]
> https://gist.githubusercontent.com/olekw/32e54c0829d739e8fa88893a853c0fa8/raw/b2fce4d2ab77555a3d28c22441f1de3cb2d99f38/bazel-bootstrap-zero-jre

The log just shows that the compiler is called once with -J-zero, so I assume
that you use the hotspot VM for anything else.

You could also try to edit
/usr/lib/jvm/java-1.11.0-openjdk-amd64/lib/jvm.cfg
moving the zero line to  the top, and then use the zero VM by default:

$ java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1)
OpenJDK 64-Bit Zero VM (build 11.0.10+9-Ubuntu-0ubuntu1, interpreted mode)


References