HF RL Explorer

Title: Virtual thread pinning when parsing with Jsoup on Java 21, and inefficient buffer allocation

Title: Virtual thread pinning when parsing with Jsoup on Java 21, and inefficient buffer allocation: a task in LegoFlow-SWE (Harbor dataset). When using Jsoup.parse(InputStream, "UTF-8", "http://example.org/") on a virtual thread with -Djdk.tracePinnedThreads=full , the JVM reports a pinned thread…

The task

When using `Jsoup.parse(InputStream, "UTF-8", "http://example.org/")` on a virtual thread with `-Djdk.tracePinnedThreads=full`, the JVM reports a pinned thread warning at `BufferedInputStream.read()`. This happens because the `ControllableInputStream` class extends `BufferedInputStream`. In Java 21,…

Part of Lego-X/LegoFlow-SWE.