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.

Pre-auth RCE in Nginx HTTP/2 handling

https://www.wiz.io/blog/nginx-http2-rce-vulnerabilities
479•speedping•3h ago•164 comments

Seven new models at scalable price-performance

https://microsoft.ai/news/microsoft-ignite-2026/
233•gmays•2h ago•155 comments

Inside Deutsche Bank

https://www.inside-db.com/
297•gyre007•3h ago•113 comments

Quad9 Is Leaving France: Why DNS Resolvers Are the Wrong Place to Fight Piracy

https://techstackups.com/articles/quad9-leaves-france-dns-blocking/
402•ritzaco•5h ago•120 comments

CVE-2026-99312: KVM Guest-to-Host Escape

https://www.terra.security/blog/kvm-guest-to-host-escape
128•Kozmik1•2h ago•76 comments

AI agents ask better questions than KPMG accountants in audit trial

https://europeanbusinessmagazine.com/ai-agents-better-questions-kpmg/
103•Betelbuddy•3h ago•54 comments

'Human' Is Cambridge Dictionary's Word of the Year 2026

https://www.cam.ac.uk/news/cambridge-dictionary-reveals-word-of-the-year-2026
162•DeepLogin•4h ago•115 comments

Show HN: Take Voyager 1 apart, down to a single memory chip

https://rshekhar.com/voyager/
60•raj-shekhar•2h ago•16 comments

U.S. AirForce is looking for old storage Media (CF or PC cards)

https://sam.gov/workspace/contract/opp/8948e8601e964c6aba9c801eee16b1be/view
93•birdboat00•3h ago•47 comments

Launch HN: Maritime (YC F26) – A managed cloud for production AI agents

16•ashriv•1h ago•10 comments

Show HN: ExitPath – Open-source ways out of Slack, Notion and Microsoft 365

https://exitpath-ruddy.vercel.app/
54•zerocool0101•2h ago•7 comments

Advancing chip design with OpenAI models

https://openai.com/index/advancing-chip-design-with-our-models/
18•vighneshiyer•1h ago•7 comments

NGINX2Root by Xint – From Nginx visitor to root of the server host

https://nginx2root.com/
63•purkka•3h ago•13 comments

The x86 CPU: From 4004 to 486

https://pikuma.com/blog/history-of-x86-4004-to-486
79•ibobev•4h ago•20 comments

Lakegres: Vector search on existing Open/Hudi/Iceberg tables

https://www.onehouse.ai/blog/lakegres-vector-search-on-open-table-formats
20•cloud8bits•1h ago•5 comments

A Primer on Fourier Series

https://arxiv.org/abs/2510.18203
67•teleforce•4h ago•12 comments

Energy-Based Reasoners: 385x more efficient inference

https://energy-based-reasoners.github.io/
261•frenchmajesty•9h ago•41 comments

CrossPoint Reader

https://crosspointreader.com
21•kristianpaul•1h ago•8 comments

Show HN: Nobody blocks a keyboard – Rooted Android as a physical USB Deck

https://github.com/mr-anjaneyam/Emittr
7•mr-anjaneyam•2d ago•6 comments

Evidence (YC S21) Is Hiring

https://www.ycombinator.com/companies/evidence/jobs/1xb9PpP-founding-gtm-lead
1•amcaskill•6h ago

Attackers Used Optimizely to A/B Test Malware on Top Websites

https://krebsonsecurity.com/2026/11/attackers-used-optimizely-to-a-b-test-malware-on-top-websites/
31•Bender•3h ago•4 comments

The Magic of Partial Evaluation

https://jimmyhmiller.com/magic-of-partial-evaluation
3•aray07•26m ago•0 comments

SuperEMeans: Making e-means 3× faster

https://www.lkuffo.com/superemeans/
24•lkuffo2•2h ago•0 comments

RFC 2675: IPv6 Jumbograms

https://www.rfc-editor.org/info/rfc2675/
15•caminanteblanco•2h ago•13 comments

Show HN: Type Fighter 2

https://typefighter2.com/
92•torumitch•7h ago•44 comments

Forking TuxGuitar into a 17-EDO tab editor

https://frogwizard.bearblog.dev/tuxguitar-17edo/
5•speckx•1h ago•1 comments

Poland says it thwarted false flag operation near border with Kaliningrad

https://www.yahoo.com/news/world/articles/russia-reportedly-planned-mass-casualty-090500574.html
215•ilamont•3h ago•65 comments

New FreeBSD Pkgbase(8) Tool

https://vermaden.wordpress.com/2026/11/10/freebsd-pkgbase-update-tool/
29•vermaden•3d ago•3 comments

Show HN: BPM – Baby Plus Music Visualizer

https://hberg.com/bpm/
3•hberg•54m ago•0 comments

Pikuma: Fundamentals of Computer Science and Mathematics

https://pikuma.com/
8•gurjeet•2h ago•0 comments