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.

Organic Maps

https://organicmaps.app/
515•tosh•4h ago•154 comments

The Computers Used in Movies

https://www.starringthecomputer.com/computers.html
67•gitowiec•1h ago•23 comments

"These cameras are just like the Eye of Sauron"

https://arxiv.org/abs/2602.09239
64•dijksterhuis•2h ago•36 comments

New AI tutor achieves 0.71-1.30 SD effect size in Dartmouth course [pdf]

https://intextbooks.science.uu.nl/workshop2026/files/itb26_s1s2.pdf
7•jonahbard•20m ago•0 comments

It's not about physical vs. digital games, it's about ownership

https://popcar.bearblog.dev/its-about-ownership/
93•popcar2•4h ago•63 comments

Outfit makes you unrecognizable to cameras

https://jmagineuniverse.blogspot.com/p/fashion-against-machine-by-olivier-july_01930961321.html
9•odilelof•26m ago•2 comments

Introduction to Compilers and Language Design (2021)

https://dthain.github.io/books/compiler/
229•AlexeyBrin•7h ago•34 comments

The Great Blogging Collapse: What Happened to 100 Successful Blogs?

https://danielstanica.com/posts/Great-Blogging-Collapse
80•thm•3d ago•59 comments

Run Windows 2000 on a DEC Alpha with a new es40 fork

https://raymii.org/s/blog/Run_Windows_2000_for_Dec_Alpha_on_a_new_es40_fork.html
64•jandeboevrie•5h ago•33 comments

You Need a Webring

https://shub.club/writings/2026/july/you-need-a-webring/
4•forthwall•22m ago•0 comments

Airplane Boneyards List and Map

https://airplaneboneyards.com/airplane-boneyards-list-and-map.htm
62•hyperific•1d ago•12 comments

Why DMARC's new "NP" tag can fail with DNSSEC

https://dmarcwise.io/blog/dmarc-np-incompatibility-with-dnssec
27•matteocontrini•4h ago•10 comments

The Future of Flipper Zero Development

https://blog.flipper.net/future-of-flipper-zero-development/
5•croes•46m ago•1 comments

If you're a button, you have one job

https://unsung.aresluna.org/if-youre-a-button-you-have-one-job/
494•nozzlegear•17h ago•244 comments

Every Postcard Tells a Story

https://observer.co.uk/style/features/article/every-postcard-tells-a-story
3•NaOH•53m ago•0 comments

Shadcn/UI now defaults to Base UI instead of Radix

https://ui.shadcn.com/docs/changelog
255•dabinat•14h ago•138 comments

Rayfish, Peer-to-peer mesh VPN with no server to trust

https://rayfish.xyz/blog/01-introducing-rayfish
79•captain_dfx•4d ago•51 comments

Zuckerberg's Increasingly Bizarre War on Whistleblowers

https://pluralistic.net/2026/06/27/zuckerstreisand-2/#autodisparagement
102•deely3•2h ago•9 comments

Optimizing an Algorithm That's Quadratic by Design

https://whatchord.earthmanmuons.com/articles/chord-ranking-performance.html
4•elasticdog•3d ago•0 comments

Installing A/UX 1.1 like it's the 90s

https://thomasw.dev/post/aux11/
6•zdw•3h ago•0 comments

The GNU Emacs Architecture: Unlocking the Core [pdf]

https://www.diva-portal.org/smash/get/diva2:2052282/FULLTEXT01.pdf
159•cenazoic•4d ago•10 comments

OpenWiki: CLI that writes and maintains agent documentation for your codebase

https://github.com/langchain-ai/openwiki
51•handfuloflight•3d ago•16 comments

EU Council forces Chat Control via fast-track

https://www.heise.de/en/news/Chat-Control-1-0-EU-Council-forces-messenger-scans-via-fast-track-11...
266•stavros•7h ago•137 comments

Taphonomic analysis reveals behavioral & tech capabilities of Homo floresiensis

https://www.science.org/doi/10.1126/sciadv.aeb7219
3•bushwart•1h ago•0 comments

Moving Back Home Used to Be a Sign of Failure. Now It Shows Financial Savvy

https://www.wsj.com/lifestyle/relationships/living-with-parents-finances-0c35530c
14•apparent•1h ago•11 comments

Pandoc Lua Filters

https://pandoc.org/lua-filters.html
128•ankitg12•2d ago•11 comments

Medieval-style fortifications are back in the Sahel

https://www.economist.com/middle-east-and-africa/2026/06/25/medieval-style-fortifications-are-bac...
67•andsoitis•4d ago•54 comments

Show HN: KiCad in the Browser

https://demo.pcbjam.com/
76•ViktorEE•7h ago•30 comments

Autonomous flying umbrella follows and shields users from rain and sunlight

https://www.designboom.com/technology/autonomous-flying-umbrella-follows-users-rain-sunlight-i-bu...
58•amichail•3h ago•25 comments

Fast Software, the Best Software (2019)

https://craigmod.com/essays/fast_software/
108•ustad•11h ago•57 comments