Virtual Threads: New Foundations for High-Scale Java Applications

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • Sonar - Write Clean Java Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • Scout APM - Truly a developer’s best friend
  • preemptible-thread

    How to preempt threads in user space

    This is good.

    I implemented a userspace M:N kernel thread to lightweight thread multiplexer in Java, Rust and C.

    I preempt hot for and while loops by setting the looping variable to the limit from the kernel multiplexing thread.

    It means threads cannot have resource starvation.

    https://github.com/samsquire/preemptible-thread

    The design is simple. But having native support for it is really useful.

  • JDK

    JDK main-line development https://openjdk.org/projects/jdk

    I don't know how they did it, but you could use that jep id as a query in the jdk issue tracker [0], and then use the issue tracker id to find the corresponding github issue [1]. (I had hoped for commits with that prefix, but there don't seem to be any for that issue.)

    [0] https://bugs.openjdk.org/browse/JDK-8277131?jql=issuetype%20...

    [1] https://github.com/openjdk/jdk/pull/8787

  • Sonar

    Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts