RFR: 8309543: Micro-optimize x86 assembler UseCondCardMark

Aleksey Shipilev shade at openjdk.org
Tue Jun 6 14:32:05 UTC 2023


Noticed this while explaining a related code: there is no need to make a full jump, and a short jump would suffice. Assembler does not know about this shortening, because it is a forward branch.

Makes a slightly more compact interpreter code.

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/14335/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14335&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309543
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14335.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14335/head:pull/14335

PR: https://git.openjdk.org/jdk/pull/14335


More information about the hotspot-dev mailing list