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.

Steam Machine launches today

https://store.steampowered.com/news/group/45479024/view/685257114654870245
1467•theschwa•13h ago•1290 comments

Will It Mythos?

https://swelljoe.com/post/will-it-mythos/
108•mindingnever•2h ago•61 comments

GLM-5.2 – How to Run Locally

https://unsloth.ai/docs/models/glm-5.2
323•TechTechTech•9h ago•141 comments

VibeThinker: 3B param model that beats Opus 4.5 on reasoning with novel SFT+GRPO

https://arxiv.org/abs/2606.16140
132•timhigins•5h ago•45 comments

Polymarket has flooded social media with deceptive videos by paid creators

https://www.wsj.com/business/media/polymarket-social-media-bets-prediction-market-441cdeb5?st=HhTZY2
196•Vaslo•2d ago•151 comments

In praise of memcached

https://jchri.st/blog/in-praise-of-memcached/
123•j03b•5h ago•45 comments

An Introduction to YOLO26

https://blog.roboflow.com/yolo26/
58•teleforce•5h ago•15 comments

The new HTTP QUERY method explained

https://kreya.app/blog/new-http-query-method-explained/
10•CommonGuy•1h ago•2 comments

OpenAI DayBreak – GPT-5.5-Cyber

https://openai.com/index/daybreak-securing-the-world/
47•AaronO•5h ago•11 comments

Optocam Zero: a Pi Zero based digital camera made using off the shelf components

https://github.com/dorukkumkumoglu/optocamzero
157•iamnothere•11h ago•39 comments

Ultralytics YOLO26: Unified Real-Time End-to-End Vision Models

https://arxiv.org/abs/2606.03748
31•teleforce•4h ago•3 comments

My Mathematical Regression

https://blog.dahl.dev/posts/my-mathematical-regression/
268•aleda145•3d ago•102 comments

Cyberdecks, going analog, and convivial technology

https://blog.hydroponictrash.solar/cyberdecks-going-analog-and-convivial-technology/
86•akkartik•3d ago•44 comments

Japanese symbols that speak without words

https://arun.is/blog/japan-symbols/
162•msephton•11h ago•85 comments

Moebius: 0.2B image inpainting model with 10B-level performance

https://hustvl.github.io/Moebius/
275•DSemba•17h ago•68 comments

Ask HN: Anthropic banned me from using Claude Code and I don't know what to do

9•ayi•32m ago•2 comments

Windows NT for GameCube/Wii

https://github.com/Wack0/entii-for-workcubes
53•zdw•3d ago•9 comments

Show HN: Oak – Git alternative designed for agents

https://oak.space/oak/oak
179•zdgeier•15h ago•159 comments

How Lume Works: The Retrieval Primitives

https://deepbluedynamics.com/blog/lume-retrieval-primitives
4•kordlessagain•2d ago•0 comments

Canada plans 'nuclear renaissance' with up to 10 reactors built by 2040

https://www.cbc.ca/news/politics/federal-nuclear-strategy-9.7244509
433•geox•11h ago•275 comments

Package Managers need global hooks

https://captnemo.in/blog/2026/06/17/package-managers-need-hooks/
15•evakhoury•4d ago•20 comments

Canyon HUD helmet for road riding

https://media-centre.canyon.com/en-INT/266866-new-canyon-heads-up-display-helmet-could-be-a-safet...
89•zh3•2d ago•101 comments

Flock-Powered Police Chiefs Stalking Women Shows Why Warrants Are Needed

https://ipvm.com/reports/police-chiefs-track
482•jhonovich•11h ago•197 comments

1,700 free online courses from top universities

https://www.openculture.com/freeonlinecourses
160•momentmaker•5h ago•32 comments

Show HN: Got sick of ads, so I made my own logic puzzle site

https://puzzlelair.com/
178•HaxleRose•18h ago•112 comments

Kyber (YC W23) Is Hiring a Head of Engineering

https://www.ycombinator.com/companies/kyber/jobs/FGmI8mx-head-of-engineering
1•asontha•10h ago

Help I accidentally a wigglegram

https://lmao.center/blog/wiggle-accidents/
525•gregsadetsky•3d ago•121 comments

Chevron signs 20-year power agreement with Microsoft for West Texas data center

https://www.chevron.com/newsroom/2026/q2/chevron-signs-20-year-power-agreement-with-microsoft-for...
141•cdrnsf•17h ago•125 comments

Deno Desktop

https://docs.deno.com/runtime/desktop/
1056•GeneralMaximus•1d ago•381 comments

Is it time for a new Embedded Linux build system?

https://yoebuild.org/blog/time-for-a-new-build-system/
66•cbrake•4d ago•47 comments