Alex Nedelcu on Nostr: “Synchronized” methods/blocks (intrinsic locks) will no longer pin virtual ...
“Synchronized” methods/blocks (intrinsic locks) will no longer pin virtual threads to platform threads. This has been an annoying limitation of Project Loom. Coming in Java 24:
https://openjdk.org/jeps/491#Java #JVM
Published at
2024-11-21 10:22:59Event JSON
{
"id": "8d6f019947f7a7c6b1c6d914e185b0623bbbc9dabc63080274e147b74a6dca3a",
"pubkey": "2464a99bb3a2cface2d500032721fbdb4f036b4c92624d2039a11cc2d6a744a4",
"created_at": 1732184579,
"kind": 1,
"tags": [
[
"t",
"java"
],
[
"t",
"jvm"
],
[
"proxy",
"https://social.alexn.org/users/alexelcu/statuses/113520448589758298",
"activitypub"
]
],
"content": "“Synchronized” methods/blocks (intrinsic locks) will no longer pin virtual threads to platform threads. This has been an annoying limitation of Project Loom. Coming in Java 24:\nhttps://openjdk.org/jeps/491\n\n#Java #JVM",
"sig": "4bda8aefded0c0201d785aef458e5099505d66636e2a5b5ff9d09a0a051835e44b5cd60f56bf9935eb6693277fcaa78e18932e89341895783296d09aa941144e"
}