RFR: 8278036: Saving rscratch1 is optional in MacroAssembler::verify_heapbase

Coleen Phillimore coleenp at openjdk.java.net
Thu Jan 20 21:49:49 UTC 2022


On Thu, 13 Jan 2022 17:44:57 GMT, Yi-Fan Tsai <duke at openjdk.java.net> wrote:

> 8278036: Saving rscratch1 is optional in MacroAssembler::verify_heapbase

src/hotspot/cpu/x86/macroAssembler_x86.cpp line 4633:

> 4631:   if (CheckCompressedOops) {
> 4632:     Label ok;
> 4633: #ifdef _LP64

Really?  This makes a difference in performance?  If it does, maybe one of the verify_heapbase() calls is in a place where it is called too frequently.

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

PR: https://git.openjdk.java.net/jdk/pull/7067


More information about the hotspot-dev mailing list