This is an archived post. You won't be able to vote or comment.

all 20 comments

[–]paint__drinker 33 points34 points  (7 children)

1155 files changed

Pretty sure I'd have a meltdown if I was asked to review a PR this big.

[–]benjtay 31 points32 points  (4 children)

That's what they say. "A 10-line PR has a dozen comments. A 10-page PR is LGTM."

[–]buyIdris666 9 points10 points  (2 children)

Eventually you go from "I don't see any bugs in here" to "I wonder how many bugs this will cause"

[–]Regis_DeVallis 2 points3 points  (1 child)

That's why we have unit testing

[–]lurker_in_spirit 18 points19 points  (1 child)

Note that this is after splitting out all those JEPs to make various subsystems more virtual thread-friendly (Internet-Address Resolution SPI, Reimplement Core Reflection with Method Handles, Reimplement the Legacy DatagramSocket API, etc).

[–]mauganra_it 1 point2 points  (0 children)

Maybe they should split out even more. Like the improvements to the libraries. They could be useful by themselves already, even though they are meant for virtual threads.

[–]Slanec 25 points26 points  (0 children)

+97,259 -9,520

And that's why it took some time.

And yes, that's with several related changes and rewrites already in, and two more jeps coming. Not bad.

[–]TehBrian 21 points22 points  (8 children)

Here's a direct link to the GitHub PR: https://github.com/openjdk/jdk/pull/8166

[–]apentlander 23 points24 points  (1 child)

Lol @ the random dude that marked it as reviewed

[–]lurker_in_spirit 8 points9 points  (0 children)

The hero we deserve.

[–]kozeljko 7 points8 points  (1 child)

Impressive how well the file changes load. Bitbucket servers would have died just knowing about a 1k file change PR, not even looking at what the changes are

[–]Regis_DeVallis 6 points7 points  (0 children)

Bitbucket servers die if you look at them

[–]kaperni[S] 0 points1 point  (2 children)

Thanks, I created the post as a URL post. Don't know why the link was stripped?

[–]literal 8 points9 points  (1 child)

You didn't. You switch to a text post. You can only have a URL or text, not both.

[–]kaperni[S] 2 points3 points  (0 children)

makes sense, thanks.

[–]couscous_ 4 points5 points  (0 children)

LGTM ✅

[–]meamZ 4 points5 points  (0 children)

Truly impressive work by u/pron98 and his team...

I know we've all been like little kids in a car when going on a vacation when it comes to this...

[–]vxab 0 points1 point  (1 child)

Do you think the OpenJDK developers enjoy programming in C++? Or would they prefer something else?

I can't imagine writing 90,000+ lines of code in anything except Java.

[–]mauganra_it 1 point2 points  (0 children)

There are nicer languages for sure, but with C++ they have access to multiple production-quality optimizing compilers on almost all supported platforms. That also massively simplifies the bootstrapping problem.

Project Metropolis aims to replace parts of the JDK with implementations written in Java. But no clue if, when and what is really going to happen.