frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

JEP 515: Ahead-of-Time Method Profiling

https://openjdk.org/jeps/515
101•cempaka•1y ago

Comments

nmstoker•1y ago
Would be interesting if the Faster Python team considered this approach for Python (although maybe they already did?)
motoboi•1y ago
The most impact will be achieved on java standard library, like Streams (cited in the article). Right now, although their behavior is well stablished and they are mostly used in the "factory" mode (no user subclassing or implementation of the stream api), they cannot be shipped with the JVM already compiled.

If you can find a way (which this JEP is one way) to make the bulk of the java standard api AOT compiled, then java programs will be faster (much faster).

Also, the JVM is already an engine marvel (java JIT code is fast as hell), but this will make java programs much nimbler.

rzwitserloot•1y ago
I assume you meant with the AOT argument: "The initial few minutes of a JVM's existence, which would be the entire lifetime if you're using java the way you use e.g. your average executable in your `/usr/bin` dir".

Saying "java programs will be faster" is perhaps a bit misleading to those who don't know how java works. This will speed up only the first moments of a JVM execution, nothing more. Or, I misread the JEP, in which case I'd owe you one if you can explain what I missed.

As a java developer this will be lightly convenient when developing. We go through JVM warmup a lot more than your average user ever does. Personally I think I'm on the low end (I like debuggers, and I don't use TDD-style "what I work on is dictated by a unit test run and thus I rerun the tests a lot during development". But still it excites me somewhat, so that should mean your average java dev should be excited quite a bit by this.

I am not all that experienced in it, but I gather that lambda-style java deployments (self contained simple apps that run on demand and could in theory be operating on a 'lets boot up a JVM to run this tiny job which won't last more than half a second') have looong ago moved on from actually booting JVMs for every job, such as by using Graal, an existing AOT tool. But if you weren't using those, hoo boy. This gives every java app 'graal level bootup' for as far as I can tell effectively free (a smidge of disk space to store the profile).

For the kinds of java deployments I'm more familiar with (a server that boots as the box boots and stays running until a reboot is needed to update deps or the app itself), this probably won't cause a noticable performance boost.

indolering•1y ago
I thought Graal was going to slowly replace HotSpot?
vips7L•1y ago
There was talk of the graal jit replacing C2, but native image will never replace HotSpot.
mshockwave•1y ago
in addition to storing profiles, what about caching some native code? so that we can eliminate the JIT overhead for hot functions

EDIT: they describe this in their "Alternative" section as future work

tikkabhuna•1y ago
Is this similar/the same as Azul Zing’s ReadyNow feature?
rst•1y ago
Faint echoes of the very first optimizing compiler, Fortran I, which did a monte carlo simulation of the flow graph to attempt to detect hot spots in the flow graph so it could allocate registers to inner loops first.
indolering•1y ago
OpenJ9 has had some of this type of functionality for a while now. Glad to see the difference between interpreted and compiled languages continue to get fuzzier.
pjmlp•1y ago
Even longer than that, OpenJ9 AOT capabilities, and JIT cache, go back to the Websphere Real-Time JVM, whose branding had nothing to do with J2EE application server.

Most documentation is gone from the Internet, I was able to dig one of the old manuals,

https://ftpmirror.your.org/pub/misc/ftp.software.ibm.com/sof...

These kind of features have been available in commercial JVMs like those for a while now, what the community is finally getting are free beer versions of such capabilities.

Claude and I found a dwarf planet candidate

https://www.joshuawolk.com/writing/claude-and-i-found-a-dwarf-planet-candidate
225•nhatcher•5h ago•101 comments

Sudoku's Hidden Rule

https://cyrusjavan.com/posts/solving-with-uniqueness/
21•multifasciatus•52m ago•2 comments

Post-Quantum Encryption Adoption

https://radar.cloudflare.com/post-quantum
159•mfiguiere•5h ago•66 comments

Anthropic has made a major breakthrough in theoretical cryptanalysis

https://twitter.com/AndrewCurran_/status/2127127873802911864
322•bifftastic•8h ago•280 comments

If you want failover to work well, use it often

https://bencane.com/posts/2026-11-25-failover-often/
335•madflojo•11h ago•85 comments

Cyanobacterium can adapt to simulated Martian conditions

https://bioengineer.org/simulated-martian-conditions-reshape-cyanobacterial-growth-and-lipid-meta...
66•hackthemack•5h ago•17 comments

Researchers make AI text generation up to 7.5x faster without changing output

https://arxiv.org/abs/2611.33896
58•ComputedCamp995•3h ago•9 comments

Self-hosted software development factory

https://kudmitry.com/articles/self-hosted-software-development-factory/
78•ingve•5h ago•37 comments

How to Brew Solar Powered Coffee

https://solar.lowtechmagazine.com/2025/11/how-to-brew-solar-powered-coffee/
34•Sir_Twist•2d ago•20 comments

Banned from Google?

https://bannedfromgoogle.com/
379•ondas•5h ago•172 comments

TrojanMaxxing: One-shotting VLM backdoors with weight-space programming

https://arxiv.org/abs/2611.27425
210•hvp1621•11h ago•70 comments

Nearly 2B credentials exposed in a publicly accessible database

https://www.expressvpn.com/research/2billion-credentials-exposed
214•basilgohar•11h ago•102 comments

Lessons from Charlie Munger's Harvard School Commencement Speech

https://www.umr.io/blog/charlie-munger-harvard-speech
29•umerf•3h ago•3 comments

Mass Destruction of Weapons

https://computer.rip/2026-11-22-mass-destruction-of-weapons.html
46•Sniffnoy•6d ago•21 comments

So, I rewrote my game in C3

https://www.madrigalgames.com/blog/so-i-rewrote-my-game-in-c3/
81•lerno•2d ago•12 comments

Ozempic indirectly boosts fertility, causing surprise pregnancies

https://health.clevelandclinic.org/ozempic-babies
48•illidan1000•4h ago•16 comments

Why I can't sell you a €1 email inbox

https://www.jannis.io/why-i-cant-sell-you-a-eur1-email-inbox/
723•amaccuish•10h ago•329 comments

Microplastics in household dust

https://idw-online.de/en/news881452
164•randycupertino•10h ago•172 comments

Underrated reasons to be thankful VI

https://dynomight.net/thanks-6/
158•Curiositry•10h ago•49 comments

Nvidia reportedly cuts gaming GPU supply by another 20-30% for Q4

https://videocardz.com/newz/nvidia-reportedly-cuts-gaming-gpu-supply-by-another-20-30-for-q4
99•extasetoi12•3h ago•46 comments

New York Ban AI Chatbot Toys for 5 Years

https://www.governor.ny.gov/news/consumers-begin-their-holiday-shopping-season-governor-hochul-si...
47•DeepLogin•5d ago•9 comments

Happy 60th Birthday to PDP-10, running ITS and Zork

https://hyperties.org/machine/games/zork/
13•DonHopkins•2d ago•2 comments

"This message has been on the screen for almost two hours now."

https://unsung.aresluna.org/this-message-has-been-on-the-screen-for-almost-two-hours-now/
247•firloop•1d ago•154 comments

The End of Robot Learning and the Last Research Agenda

https://vedder.io/misc/end_of_robot_learning.html
59•gmays•6h ago•27 comments

Borland's DOS compilers, rebuilt from their own binaries

https://github.com/abedegno/borland-reborn
211•frostbyte7•15h ago•81 comments

The Math Behind Counter-Strike Surfing

https://healeycodes.com/the-math-behind-counter-strike-surfing
323•v3gas•2d ago•53 comments

Porting Old Llamasoft Games to iOS

https://blog.gingerbeardman.com/2026/11/29/porting-old-llamasoft-games-to-ios/
21•ingve•5h ago•5 comments

Four federal cases trace $974M in Nvidia chips and servers to China

https://ailately.com/articles/chip-smuggling-route-to-china
267•ryanedennis•10h ago•113 comments

An exhaustive review of design tool hover areas

https://tldraw.dev/blog/a-review-of-design-tool-hover-areas
196•bpierre•1d ago•25 comments

Marmot, an Alternative Go Compiler

https://marmot.gaurav.zip/
104•andreynering•2d ago•26 comments