Close Menu
Şevket Ayaksız

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Google Maps vs Waze: I Put the Two Best Navigation Apps Head-to-Head — and One Clearly Came Out on Top

    Mayıs 1, 2026

    Samsung Electronics Offers Free 32-Inch Odyssey gaming monitor: Eligibility and How to Claim Deal

    Mayıs 1, 2026

    T-Mobile Bundles Free Hulu and Netflix for 5G Users: Eligibility Explained

    Mayıs 1, 2026
    Facebook X (Twitter) Instagram
    • software
    • Gadgets
    Facebook X (Twitter) Instagram
    Şevket AyaksızŞevket Ayaksız
    Subscribe
    • Home
    • Technology

      Google Maps vs Waze: I Put the Two Best Navigation Apps Head-to-Head — and One Clearly Came Out on Top

      Mayıs 1, 2026

      T-Mobile Bundles Free Hulu and Netflix for 5G Users: Eligibility Explained

      Mayıs 1, 2026

      This Portable Mini PC Is the Unexpected Raspberry Pi Alternative You Might Actually Want

      Mayıs 1, 2026

      Samsung warns RAM shortages could worsen beyond 2027

      Mayıs 1, 2026

      Oxford study finds friendly AI chatbots are less accurate

      Mayıs 1, 2026
    • Adobe
    • Microsoft
    • java
    • Oracle
    Şevket Ayaksız
    Anasayfa » Project Lilliput Would Shrink Java Object Header
    java

    Project Lilliput Would Shrink Java Object Header

    By mustafa efeAğustos 1, 2024Yorum yapılmamış2 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    OpenJDK proposal to reduce the Java object header by half or more would lower memory and CPU usage on all Java workloads

    Java could get a smaller object header, thus improving memory usage, under a proposal being floated in the OpenJDK open source Java community this week. Known as Project Lilliput and led by Red Hat’s Roman Kennke, the effort would explore ways to shrink the object header, with a goal of reducing it to 64 bits.

    Currently Java objects have a 128-bit object header in the 64-bit HotSpot VM, with a 64-bit multipurpose header word and a 64-bit class pointer. With average object sizes of five to six words, the current object header size is significant, the proposal states. Reducing header size would greatly reduce memory pressure, reducing overall CPU and memory usage for all Java workloads, whether in a large in-memory database or a small containerized application.

    Specific benefits cited for Project Lilliput include:

    • Reduced heap usage.
    • Higher object allocation rate.
    • Reduced garbage collection activity.
    • Tighter packing of objects.

     

     

    Other goals include making the header layout more flexible and allowing some build or even runtime configuration of how bits are used. As a secondary goal, it may be possible to reduce the object header to 32 bits. The proposal states that the object header has been used (and overloaded) for such purposes as indicating the locking state of an object, tracking the age of each object in garbage collection, storing identity hash code, and type information.

    The proposal cites a number of techniques to explore for allocating and downsizing header fields, such as compressing pointers and backfilling fields known at compile time. There are constraints, though, such as requiring a change in assembly across supported platforms. There also might be issues with other Java projects, such as Panama, for bridging between Java and C/C++; Loom, intended to decrease complexity in concurrent applications; and Leyden, to address Java issues such as slow startup time.

    The immediate goal of the initial work plan for Lilliput is to brainstorm, collect ideas, and devise a proof of concept as quickly as possible.

    Post Views: 291
    java Programming Languages Software Development
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    mustafa efe
    • Website

    Related Posts

    Optimizing Java Streams for High-Performance Applications

    Aralık 20, 2025

    AI Brings a New Spark to JavaScript Programming

    Kasım 9, 2025

    Revisiting the Spring Framework: What’s New and Why It Still Matters

    Kasım 9, 2025
    Add A Comment

    Comments are closed.

    Editors Picks
    8.5

    Apple Planning Big Mac Redesign and Half-Sized Old Mac

    Ocak 5, 2021

    Autonomous Driving Startup Attracts Chinese Investor

    Ocak 5, 2021

    Onboard Cameras Allow Disabled Quadcopters to Fly

    Ocak 5, 2021
    Top Reviews
    9.1

    Review: T-Mobile Winning 5G Race Around the World

    By sevketayaksiz
    8.9

    Samsung Galaxy S21 Ultra Review: the New King of Android Phones

    By sevketayaksiz
    8.9

    Xiaomi Mi 10: New Variant with Snapdragon 870 Review

    By sevketayaksiz
    Advertisement
    Demo
    Şevket Ayaksız
    Facebook X (Twitter) Instagram YouTube
    • Home
    • Adobe
    • microsoft
    • java
    • Oracle
    • Contact
    © 2026 Theme Designed by Şevket Ayaksız.

    Type above and press Enter to search. Press Esc to cancel.