Java 27 cut the size of every object header in the JVM by a third, for free. If you just migrate versions, your objects take a lot less memory.
How? Every object you create in the JVM has a header. Until now that header had 96 bits. In Java 27 it has 64.
Looks silly, looks like nothing. But every object carries metadata: its class, its hash, its lock. Even a simple application can have millions of those. So any improvement in resource usage there can be really significant for your JVM.
This came in as experimental in JDK 24, became a product feature in Java 25, and now in Java 27 it's the default.
Some numbers they published. One scenario used 22% less heap and 8% less CPU. Another had 15% less garbage collection, just from this change. A JSON parser they tested ran 10% faster. Some companies already use it in production, like Amazon and SAP.
Sometimes we want to improve our applications' performance, especially in the cloud, where you never know exactly what the bill will be at the end of the month. Small changes like this can have huge impacts on your service, your server and that bill.
The more I read about #Rust, more crazy things I find!
You can only add a parameter to a function if it implemented both "Summary" & "Display"
Taking interfaces to another level
@thedeepakk12 You win some, you loose some.
Diary
+ immune to malware and mass attacks
β can burn, get lost, no phishing check
Local
+ what you said
β one infostealer = vault + master password gone
Paper's risk needs someone in my house. I'll take that.
Even a password manager got hacked.
These are the guys whose whole job is keeping everyone's passwords safe.
What happened:
1.) An employee's GitHub account was compromised on 19 Nov
2.) The attacker pushed malicious code to backend systems & copied customer names, emails + account metadata
3.) They also took private source code & got into CI/CD
4.) Vaults & passwords were NOT accessed (encrypted, 1Password can't see them)
The real risk now: phishing. Attackers know exactly who uses 1Password.
Scary times we live in
@thedeepakk12 Wrong analogy
> 1 bank got robbed
customer money never get deducted. Putting your password anywhere online risk your whole online access
> diary can be lost or stolen
still lower chances than getting your cred in mass attack
A man who keeps dairy is stupid every day except 1
100 Postgres Tips in 10mins!
π Why you don't need ORMs
π Why you should use Functions for EVERYTHING
π Why you should always use RLS
Discuss in the comments...