Path: csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Aleksey Shipilev Newsgroups: linux.debian.maint.java Subject: OpenJDK Zero interpreter: fast bytecodes Date: Thu, 05 Jan 2023 10:50:01 +0100 Message-ID: X-Mailbox-Line: From debian-java-request@lists.debian.org Thu Jan 5 09:47:42 2023 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.102 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Mc-Unique: g9lWDU2WMJCFZSG2wnpsgQ-1 X-Gm-Message-State: AFqh2kqu0wx5g03ancoKRZEB3ERA0SHdJlARBUFfRSK637o2AbWfvH22 Ueti96YIfnh5lrTwHfbzILTOriYfZYQC87BJMFFim0fcv7EqeJQCqF7gLjPlvs/uNpZIsuk98ZM jWTPVgEYHBJT5xdRySbepjTNvm4gJKndk5JalbdISKTOTLJ928Jd4pSIVJ/QlmEfWeHdPXK6H X-Received: by 2002:a05:600c:1c90:b0:3cf:75a8:ecf4 with SMTP id k16-20020a05600c1c9000b003cf75a8ecf4mr36213145wms.24.1672910206959; Thu, 05 Jan 2023 01:16:46 -0800 (PST) X-Google-SMTP-Source: AMrXdXtzeAL4iPAlc2XCYAWszX2ax0a7j6eDYPMiTmggPZirRwBqsFpsoJQRpbuZUJMBjDs3efFggg== X-Received: by 2002:a05:600c:1c90:b0:3cf:75a8:ecf4 with SMTP id k16-20020a05600c1c9000b003cf75a8ecf4mr36213135wms.24.1672910206756; Thu, 05 Jan 2023 01:16:46 -0800 (PST) MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailing-List: archive/latest/23140 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/cd5d94a8-928d-3b2f-2f55-dd9610016a18@redhat.com Approved: robomod@news.nic.it Lines: 27 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 5 Jan 2023 10:16:45 +0100 X-Original-Message-ID: Xref: csiph.com linux.debian.maint.java:12497 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