HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
openjdk
valhalla
Java2020–2025
openjdk / valhalla

valhalla

https://openjdk.org/projects/valhalla

6Distinct people
6Mentions
0Explicit recommenders
727GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

https://openjdk.org/projects/valhalla

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year6 dated mentions

Observed mentions: 2020-03-11 21:22:05 UTC to 2025-07-01 15:30:12 UTC.

0122020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC211
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

6 sources
Still a branch, I think. https://github.com/openjdk/valhalla Not sure if there is any relevant reason for this to be posted at this particular point in time. The most recent early-access build is from 2022: https://jdk.java.net/valhalla/ Edit: regarding replies about the recent update date -- that update date is tied to the linked Jira issue (https://bugs.openjdk.org/browse/JDK-8251554) and the only activity four days ago was adding links to some related issues. There were some updates to the description two months ago but the History view makes it difficult to determine what those are without manually copy-and-pasting the old revisions into some sort of diff tool
In JEP 401: Value Classes and Objects (Preview)
Optional is being being converted to a value class as part of Project Valhalla. I reran the benchmarks with the latest Valhalla branch [1] and added a test that used OptionalLong instead of Optional<Long>. Without Valhalla - OptionBenchmark.sumSimple avgt 5 328,110 us/op - OptionBenchmark.sumNulls avgt 5 570,800 us/op - OptionBenchmark.sumOptional avgt 5 2223,887 us/op - OptionBenchmark.sumOptionalLong avgt 5 1201,987 us/op With Valhalla - OptionBenchmark.sumSimpleValhalla avgt 5 327,927 us/op - OptionBenchmark.sumNullsValhalla avgt 5 584,967 us/op - OptionBenchmark.sumOptionalValhalla avgt 5 572,833 us/op - OptionBenchmark.sumOptionalLongValhalla avgt 5 326,949
Read the rest
us/op OptionalLong is now as fast as simple sum. And SumOptional is now as fast as SumNulls. So the overhead of using OptionalLong and Optional<Long> seems to have gone away with Valhalla. It would be great if boxing could be eliminated as well. But few people writes code like what is being benchmarked (in hot loops) in practice. [1] https://github.com/openjdk/valhalla
In Overhead of Returning Optional Values in Java and Rust (2021)

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.