RFR: 8253162: Make frame::oops_do const [v2]

Per Lidén pliden at openjdk.java.net
Tue Sep 15 13:20:04 UTC 2020


On Tue, 15 Sep 2020 11:54:21 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> Make frame::oops_do const, so that we can use a const frame& receiver when appropriate. With this, we can get rid of
>> the temporary copies made just to make the frame variable non-const. See for example:
>> https://github.com/openjdk/zgc/blob/c4765b5599d07124410f8a80b1acef9349a998e0/src/hotspot/share/gc/z/zStackWatermark.cpp#L96
>
> Stefan Karlsson has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Make frame::oops_do RegisterMap const

Marked as reviewed by pliden (Reviewer).

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

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


More information about the hotspot-dev mailing list