Stay Ahead of the Game with Liberica JDK Performance Edition: A Java News Roundup
![]()
The Liberica JDK Performance Edition is a powerful tool that Java developers can use to enhance the performance of their applications. This edition of the JDK comes with several features and improvements that can help developers stay ahead of the game. With its advanced optimizations and enhanced performance, the Liberica JDK Performance Edition is a must-have for any serious Java developer.
What’s new in the GraalVM JDK 21 Builds
The GraalVM JDK 21 Builds have introduced some exciting new features and enhancements. One of the key highlights of this release is the improved performance of the GraalVM compiler. With the new optimizations, developers can expect faster startup times and reduced memory footprint for their Java applications. Additionally, the GraalVM JDK 21 Builds also come with improved support for native image generation, making it easier for developers to create lightweight and fast-executing native applications.
Exploring the features of Open Liberty
Open Liberty is a lightweight and flexible Java application server that is gaining popularity among developers. It offers a wide range of features and capabilities that make it an ideal choice for building cloud-native applications. Some of the key features of Open Liberty include support for MicroProfile and Jakarta EE standards, fast startup times, and efficient resource utilization. With Open Liberty, developers can easily create scalable and resilient Java applications that can handle high traffic loads with ease.
The benefits of using Quarkus for Java development
Quarkus is a modern framework for building Java applications that offers several benefits over traditional Java frameworks. One of the key advantages of using Quarkus is its impressive startup time. Quarkus applications start up in milliseconds, making them ideal for serverless and containerized environments. Additionally, Quarkus also offers superior memory utilization, enabling developers to build efficient and lightweight Java applications. With its intuitive developer experience and seamless integration with popular development tools, Quarkus is quickly becoming the go-to choice for Java developers.
An overview of the latest updates in Java 17
Java 17 is the latest long-term support release of the Java programming language. It comes with several new features and improvements that enhance developer productivity and application performance. Some of the key updates in Java 17 include enhanced pattern matching, improved garbage collection, and support for foreign function and memory access. With these updates, Java 17 empowers developers to write cleaner and more efficient code, leading to improved application performance and stability.
Understanding the advantages of the Zing Java Virtual Machine
The Zing Java Virtual Machine (JVM) is a high-performance JVM that is designed for enterprise applications with demanding performance requirements. Unlike traditional JVMs, Zing offers low-latency and high-throughput performance, making it an excellent choice for applications that require fast response times and high scalability. With its advanced garbage collection algorithms and dynamic optimizations, Zing JVM ensures that Java applications run smoothly even under heavy workloads.
Addressing the issue of “Java invalid source release 11”
The “Java invalid source release 11” error is a common issue that Java developers may encounter when trying to compile their code using an incompatible Java version. This error occurs when the source code is written using a higher version of Java than the one specified in the project settings. To address this issue, developers should ensure that their project settings are correctly configured to use the desired Java version. Additionally, they should also check the compatibility of any external libraries or dependencies used in their project to avoid compatibility issues.
Remembering Stefan Karlsson and his contributions to the Java community
Stefan Karlsson, a renowned Java developer and community member, sadly passed away recently. Stefan made significant contributions to the Java community through his expertise and passion for the language. He was known for his insightful blog posts, informative conference talks, and open-source contributions. Stefan’s dedication and contributions will be remembered by the Java community for years to come, and his impact on the development of the language will continue to inspire future generations of Java developers.
Intel EPP: Enhancing Performance with the Liberica JDK
Intel EPP (Enhanced Performance Profiles) is a set of optimizations and enhancements specifically designed for the Liberica JDK. With Intel EPP, developers can leverage the power of Intel processors to further enhance the performance of their Java applications. By utilizing features such as advanced vectorization, memory optimizations, and improved thread synchronization, Intel EPP enables developers to achieve greater performance and efficiency in their Java applications. With its seamless integration with the Liberica JDK, Intel EPP is a game-changer for Java developers looking to optimize their applications.
Conclusion
In conclusion, staying ahead of the game in the Java development world requires keeping up with the latest tools, frameworks, and updates. The Liberica JDK Performance Edition, GraalVM JDK 21 Builds, Open Liberty, Quarkus, Java 17, Zing JVM, and Intel EPP are all valuable tools and technologies that can help developers achieve optimal performance and efficiency in their Java applications. Additionally, it is important to remember the contributions of passionate community members like Stefan Karlsson, whose expertise and dedication have greatly influenced the Java ecosystem. By embracing these advancements and honoring the contributions of fellow developers, we can continue to push the boundaries of Java development and create even more powerful and efficient applications.
Liberica JDK Performance Edition: User's Guide
Liberica JDK Performance Edition (liberica-perf for short) is a Java runtime that couples JVM 17 and JDK 11. In most cases, you can transfer your workload to liberica-perf without any changes, and see the immediate performance increase up to 10–15%.
Installing Liberica JDK Performance Edition
You can use liberica-perf for developing and running Java applications on a headless or GUI system on Linux. The builds are supported on Intel processors, but the ARM version is also available upon request.
Download the tag.gz package with Liberica JDK Performance Edition bundle and install it like any other Java version. Running the java -version after the installation will show: openjdk version «11.0.20» 2023-07-18 LTS
Configuration and usage
Most workloads can be migrated to the new functionality without substantial changes, but in some cases, additional configuration is required.
The coupling of Liberica JDK Performance Edition and JDK 11 will make some libraries behave differently.
Tool and libraries that are not supported on or behave differently in Liberica JDK Performance Edition:
- JVM compiler interface (JVMCI) is not supported, as well as Graal JIT and AOT that depend on JVMCI. GraalVM is now developed as a separate project. Builds for JDK 11 are available as part of GraalVM CE. You can also use a GraalVM CE-based Liberica Native Image Kit as a native-image compiler.
- Concurrent Mark Sweep Garbage Collector was removed from JDK 14 (JEP 363) and therefore is not supported.
- JFR events are based on JVM 17 capabilities. Minor changes in the amount and format of supported events are expected.
- Some VM log messages were changed. More logging categories are available via the -Xlog option (part of JVM 17).
- Only the Server VM is available.
Changes to runtime options
Several JVM runtime options were added from JDK 17, some were removed. See the tables below for additional information.
List of added runtime options
Below is the list of options available in liberica-perf, but absent in JDK 11. For more information on these parameters, see the official documentation.
| New options |
|---|
| AdjustStackSizeForTLS |
| AllowRedefinitionToAddDeleteMethods |
| ArchiveClassesAtExit |
| AsyncLogBufferSize |
| C1InlineStackLimit |
| C1MaxInlineLevel |
| C1MaxInlineSize |
| C1MaxRecursiveInlineLevel |
| C1MaxTrivialSize |
| CompilationMode |
| DynamicDumpSharedSpaces |
| G1PeriodicGCInterval |
| G1PeriodicGCInvokesConcurrent |
| G1PeriodicGCSystemLoadThreshold |
| G1RSetRegionEntries |
| G1RSetSparseRegionEntries |
| HeapDumpGzipLevel |
| MetaspaceReclaimPolicy |
| MinHeapSize |
| RecordDynamicDumpInfo |
| ShowCodeDetailsInExceptionMessages |
| SweeperThreshold |
| UseContainerCpuShares |
| UseEmptySlotsInSupers |
| UseNotificationThread |
| ZMarkStackSpaceLimit |
| ZProactive |
| ZUncommit |
| ZUncommitDelay |
List of removed and renamed runtime options
Below is the list of options not available in liberica-perf and the options that were renamed.
Java/LibericaJDK
Liberica JDK — среда разработки и запуска приложений Java SE. Продукт создан российской компанией на основе проекта с открытым исходным кодом OpenJDK. Liberica JDK является полноценной заменой Oracle Java.
Выпускается и поддерживается инженерной командой BellSoft в г. Санкт-Петербург; в рамках поддержки предлагаются ежеквартальные обновления, включая обновления безопасности и исправления (PSU/CPU), а также исправления в случае проблем OpenJDK. Предоставляются актуальные версии в соответствии с Upstream OpenJDK.
Liberica JDK включена в Единый реестр российских программ для электронных вычислительных машин и баз данных Минкомсвязи РФ под регистрационным номером 5493.
Liberica JDK PRO
Liberica JDK — прогрессивная среда исполнения Java для ИТ-профессионалов. Все сборки Liberica JDK прошли тесты TCK на реализацию спецификаций Java SE и соответствуют требованиям цифрового суверенитета.
Liberica JDK включена в Единый реестр российских программ для электронных вычислительных машин и баз данных Минцифры под номером 5394.
Liberica JDK PRO создана специально для российского рынка и поддерживается на всех российских ОС: AstraLinux, РедОС, Стрелец, Основа, Циркон, Альтлинукс, РОСА.
Системные требования
Дистрибутивы Liberica JDK поддерживаются на большинстве платформ и совместимы с самыми распространенными ОС, что даёт следующие преимущества:
- нет необходимости искать обходные способы установки,
- для разработки и развёртывания Java-приложений используется одна и та же среда,
- универсальное решение позволяет снизить издержки.
Поддерживаемые ОС:
- Windows Server x86 (64 bit);
- Windows Desktop x86 (64 bit, 32 bit); AArch64
- macOS x86 (64 bit); AArch64 (64 bit)
- Ubuntu Linux x86 (64 bit, 32 bit); AArch64 (64 bit); ARMv7 Hard-Float (32 bit); PowerPC (64 bit Little Endian)
- Debian Linux x86 (64 bit, 32 bit); AArch64 (64 bit); ARMv7 Hard-Float (32 bit); PowerPC (64 bit Little Endian)
- Red Hat Enterprise Linux (RHEL) x86 (64 bit, 32 bit); AArch64 (64 bit); PowerPC (64 bit Little Endian)
- CentOS x86 (64 bit, 32 bit); AArch64 (64 bit); PowerPC (64 bit Little Endian)
- Amazon Linux x86 (64 bit, 32 bit); AArch64 (64 bit)
- Oracle Enterprise Linux (OEL) x86 (64 bit, 32 bit)
- SuSE Linux Enterprise Server (SLES) x86 (64 bit, 32 bit); AArch64 (64 bit); PowerPC (64 bit Little Endian)
- OpenSUSE x86 (64 bit, 32 bit); AArch64 (64 bit); PowerPC (64 bit Little Endian)
- Alpine Linux x86 (64 bit); AArch64 (64 bit)
- Raspbian ARMv7 Hard-Float (32 bit)
- Solaris 10 SPARC; x86 (64 bit); Solaris 11 SPARC; x86 (64 bit)
- Alt Linux 8 СП, 8, 9
- Astra Linux 1.6 SE (Смоленск), 2.12 (Орел)
- RED OS 7.X
- РОСА R7+
32-битные сборки Liberica JDK для архитектуры x86 также поддерживаются на 64-битных платформах Linux и Windows там, где это позволяет ядро ОС и свободное пространство на жёстком диске.
Liberica JDK работает в виртуальных и облачных средах. Поддерживаются следующие гипервизоры:
- Docker
- KVM
- Microsoft Hyper-V (gen 1 and gen 2)
- VirtualBox
- VMware vSphere Hypervisor
- Solaris Containers & Solaris LDOMs
Liberica JDK доступна в облачных системах всех крупных провайдеров, в том числе: