Close Menu
Şevket Ayaksız

    Subscribe to Updates

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

    What's Hot

    Chrome Hit by Major Zero-Day Vulnerability—Update Today

    Haziran 5, 2025

    Arm-Powered Alienware Laptop with Nvidia APU Expected by Year-End

    Haziran 5, 2025

    Classic Outlook users report new glitches after latest update

    Haziran 5, 2025
    Facebook X (Twitter) Instagram
    • software
    • Gadgets
    Facebook X (Twitter) Instagram
    Şevket AyaksızŞevket Ayaksız
    Subscribe
    • Home
    • Technology

      Arm-Powered Alienware Laptop with Nvidia APU Expected by Year-End

      Haziran 5, 2025

      Android malware Crocodilus fakes trusted contacts for scam calls

      Haziran 5, 2025

      25% GPU and motherboard tariffs postponed to September

      Haziran 5, 2025

      Intel’s Bartlett Lake and Wildcat Lake CPUs leak online

      Haziran 4, 2025

      MSI revives Cyclone design for new RTX 5060

      Haziran 4, 2025
    • 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: 114
    java Programming Languages Software Development
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    mustafa efe
    • Website

    Related Posts

    Deno’s Latest Update Adds OpenTelemetry Support

    Mayıs 31, 2025

    Empowering Firebase Studio with Agentic AI for Smarter App Development

    Mayıs 27, 2025

    Google I/O 2025 Puts Spotlight on AI Breakthroughs and Gemini Advancements

    Mayıs 27, 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
    © 2025 Theme Designed by Şevket Ayaksız.

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