JDK 21 | JDK 22 |
---|---|
21.0.4-oracleFixed | 22 b22Fixed |
Relates :
|
|
Relates :
|
JDK-8315503 replaced ResourceHashTable with ConcurrentHashTable. When it tries to clear G1CodeRootSetHashTable, it calls ConcurrentHashTable:table.unsafe_reset(). The method has comments states: // Unsafe reset and resize the table. This method assumes that we // want to clear and maybe resize the internal table without the // overhead of clearing individual items in the table. So, if the table is not empty, then all entries in table are leaked.
|