RFR: 8339158: TypeKind add slotSize field

Chen Liang liach at openjdk.org
Wed Aug 28 12:31:51 UTC 2024


On Wed, 28 Aug 2024 10:26:58 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> Small improvement, add a final field, no need to calculate every time.

Is this field access faster than a table switch?

Also notice there's #20737 which may come before your improvement.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/20743#issuecomment-2315115615


More information about the core-libs-dev mailing list