frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

JEP 519: Compact Object Headers

https://openjdk.org/jeps/519
62•Skinney•5h ago

Comments

hmottestad•5h ago
This particular JEP is just: "Change compact object headers from an experimental feature to a product feature."

Very good performance results though. Particularly like the json parsing benchmark showing a 10% performance improvement.

SerCe•5h ago
The previous JEP 450 [1] has a lot more implementation details for those who are interested.

> They have been tested at Oracle by running the full JDK test suite. They have also been tested at Amazon by hundreds of services in production, most of them using backports of the feature to JDK 21 and JDK 17.

One of the underappreciated perks of working on platform teams in large (and very large in the case of Amazon) companies is that you've got a playground to see and quantify the impact of your performance work that few others have.

[1]: https://openjdk.org/jeps/450

nicktelford•4h ago
I find it a bit bizarre that this JEP doesn't enable Compact Object Headers by default. Most users will not know to specifically enable it, so if they're that confident in its stability and performance, why not enable it for everyone?

The JVM used to have a reputation for requiring byzantine flags to properly optimise its performance (mostly GC configuration). We've mostly left that behind these days, but it feels like JEP 519 takes a step backwards here.

pron•4h ago
These things tend to be done gradually out of an abundance of caution. Assuming the experience remains positive, it will be made the default in some future release.
jeroenhd•4h ago
The JVM world is slow and extremely careful. If there's a chance something that once works breaks, it'll take many years before the change is applied by default.

Many JVM users can make huge performance gains by switching the GC to a better once and by toggling all kinds of options.

zaphirplane•3h ago
That would be the LTS track. A change has no effect on the LTS version which is supported for a long time
kosolam•4h ago
I wonder if this also improves the efficiency of native image graal built executables?
xxs•3h ago
'this', making the future non-experimental won't do anything. It was already available. With this change it still won't be the default setting.

So, you still need to run some perf. testing on your own to decide.

kosolam•2h ago
I’m asking if this JEP will also improve the performance of native image graal built executables, or only when an app is ran using the jdk?
pron•1h ago
This is a change to the OpenJDK JVM (HotSpot) only. I'm not sure, but I think that Graal Native Image (based on the Substrate VM) may already have small headers.

Making the rav1d Video Decoder 1% Faster

https://ohadravid.github.io/posts/2025-05-rav1d-faster/
103•todsacerdoti•2h ago•27 comments

Showh HN: SQLite JavaScript - extend your database with JavaScript

https://github.com/sqliteai/sqlite-js
32•marcobambini•57m ago•6 comments

Adventures in Symbolic Algebra with Model Context Protocol

https://www.stephendiehl.com/posts/computer_algebra_mcp/
10•freediver•24m ago•0 comments

Planetfall

https://somethingaboutmaps.wordpress.com/2025/05/20/planetfall/
154•milliams•5h ago•31 comments

Gemini Diffusion

https://simonwillison.net/2025/May/21/gemini-diffusion/
698•mdp2021•13h ago•180 comments

The scientific “unit” we call the decibel

https://lcamtuf.substack.com/p/decibels-are-ridiculous
410•Ariarule•9h ago•291 comments

Fast Allocations in Ruby 3.5

https://railsatscale.com/2025-05-21-fast-allocations-in-ruby-3-5/
9•tekknolagi•21m ago•0 comments

Four years of sight reading practice

https://sandrock.co.za/carl/2025/05/four-years-of-sight-reading-pracice/
59•chthonicdaemon•3d ago•22 comments

Show HN: Curved Space Shader in Three.js (via 4D sphere projection)

https://github.com/bntre/CurvedSpaceShader
26•bntr•3h ago•8 comments

Sorry, grads: Entry-level tech jobs are getting wiped out

https://sfstandard.com/2025/05/20/silicon-valley-white-collar-recession-entry-level/
36•nradov•1h ago•19 comments

Robert Musil Forgotten Plays Inspired His Greatest Work of Fiction

https://lithub.com/the-austrian-writer-whose-forgotten-plays-inspired-his-greatest-work-of-fiction/
8•DyslexicAtheist•2h ago•4 comments

Everything’s a bug (or an issue)

https://www.bozemanpass.com/everythings-a-bug-or-an-issue/
7•dboreham•3d ago•2 comments

Inigo Quilez: computer graphics, mathematics, shaders, fractals, demoscene

https://iquilezles.org/articles/
209•federicoponzi•4d ago•26 comments

Kotlin-Lsp: Kotlin Language Server and Plugin for Visual Studio Code

https://github.com/Kotlin/kotlin-lsp
133•todsacerdoti•11h ago•80 comments

Display any CSV file as a searchable, filterable, pretty HTML table

https://github.com/derekeder/csv-to-html-table
190•indigodaddy•13h ago•40 comments

Why does Debian change software?

https://blog.liw.fi/posts/2025/why-debian-changes/
208•tapanjk•7h ago•131 comments

Hotspot: Linux `perf` GUI for performance analysis

https://github.com/KDAB/hotspot
61•jez•2d ago•12 comments

Devstral

https://mistral.ai/news/devstral
614•mfiguiere•1d ago•129 comments

How we made our OCR code more accurate

https://pieces.app/blog/how-we-made-our-optical-character-recognition-ocr-code-more-accurate
20•thunderbong•1d ago•22 comments

For algorithms, a little memory outweighs a lot of time

https://www.quantamagazine.org/for-algorithms-a-little-memory-outweighs-a-lot-of-time-20250521/
299•makira•18h ago•94 comments

Strengths and limitations of diffusion language models

https://www.seangoedecke.com/limitations-of-text-diffusion-models/
16•rbanffy•4h ago•1 comments

A lost decade chasing distributed architectures for data analytics?

https://duckdb.org/2025/05/19/the-lost-decade-of-small-data.html
161•andreasha•3d ago•66 comments

Direct TLS can speed up your connections

https://marc-bowes.com/postgres-direct-tls.html
67•tanelpoder•8h ago•22 comments

Getting a paper accepted

https://maxwellforbes.com/posts/how-to-get-a-paper-accepted/
162•stefanpie•13h ago•78 comments

CERN gears up to ship antimatter across Europe

https://arstechnica.com/science/2025/05/cern-gears-up-to-ship-antimatter-across-europe/
221•ben_w•2d ago•132 comments

Gemini figured out my nephew’s name

https://blog.nawaz.org/posts/2025/May/gemini-figured-out-my-nephews-name/
157•BeetleB•3d ago•88 comments

ITXPlus: A ITX Sized Macintosh Plus Logicboard Reproduction

https://68kmla.org/bb/index.php?threads/itxplus-a-itx-sized-macintosh-plus-logicboard-reproduction.49715/
107•zdw•16h ago•24 comments

Collaborative Text Editing Without CRDTs or OT

https://mattweidner.com/2025/05/21/text-without-crdts.html
260•samwillis•21h ago•69 comments

Rocky Linux 10 Will Support RISC-V

https://rockylinux.org/news/rockylinux-support-for-riscv
168•fork-bomber•17h ago•96 comments

Animated Factorization (2012)

http://www.datapointed.net/visualizations/math/factorization/animated-diagrams/
264•miniBill•23h ago•56 comments