RFR: 8308076: X86_64: make rheapbase register allocatable in zero based compressedOops mode [v3]

kuaiwei duke at openjdk.org
Mon May 15 09:13:57 UTC 2023


> In x86 64 mode, decode heap oop could use SIB without base if heap base is zero. like
> 
> 0d1     movl    R11, [,R9 << 3 + #72] (zero base compressed oop addressing) # compressed ptr ! Field: java/lang/ClassLoader.classAssertionStatus 
> 
> So rheapbase( r12 )  can be allocated as general register.
> 
> Tier 1/2 tests are passed without new failure.

kuaiwei has updated the pull request incrementally with one additional commit since the last revision:

  fix zero build

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13976/files
  - new: https://git.openjdk.org/jdk/pull/13976/files/34ff1f61..2ea32cdf

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13976&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13976&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/13976.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13976/head:pull/13976

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


More information about the hotspot-dev mailing list