Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #12497

OpenJDK Zero interpreter: fast bytecodes

From Aleksey Shipilev <shade@redhat.com>
Newsgroups linux.debian.maint.java
Subject OpenJDK Zero interpreter: fast bytecodes
Date 2023-01-05 10:50 +0100
Message-ID <FKv2N-fIF6-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi debian-java maintainers,

Last year, I implemented the fast bytecodes feature in OpenJDK Zero interpreter [1]. It shipped with 
JDK 18, and I have recently backported it to 17u. This should land in 17.0.7 in April 2023.

I believe Debian runs with Zero on some architectures that do not have "server" ports. From the look 
at openjdk-17-jdk [2], I assume at least alpha, mips64el, mipsel, riscv64, sparc64, m68k, sh4 are 
running with Zero.

This feature should make the builds that involve OpenJDK -- for example, building Java packages -- 
considerably faster. On my RISC-V board, the 17u tests are routinely >10% faster, some tests are 50% 
faster.

But there might be new bugs, so I wanted to give you a heads-up about this. -XX:-RewriteBytecodes 
restores the original behavior, if needed. If there are even more serious problems, we can revert 
the backport completely. It would be nice to know about this before the 17.0.7 release crunch in 
late March, though.

Is there an easy way to check if e.g. bookworm can be fully re-built with latest and greatest 17.0.7 
EA?

-- 
Thanks,
-Aleksey

[1] https://bugs.openjdk.org/browse/JDK-8008243
[2] https://packages.debian.org/search?keywords=openjdk-17-jdk

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar


Thread

OpenJDK Zero interpreter: fast bytecodes Aleksey Shipilev <shade@redhat.com> - 2023-01-05 10:50 +0100
  Re: OpenJDK Zero interpreter: fast bytecodes Emmanuel Bourg <ebourg@apache.org> - 2023-01-05 23:30 +0100
    Re: OpenJDK Zero interpreter: fast bytecodes Aleksey Shipilev <shade@redhat.com> - 2023-01-06 12:50 +0100

csiph-web