Integrated: 8253162: Make frame::oops_do const
Stefan Karlsson
stefank at openjdk.java.net
Wed Sep 16 12:24:53 UTC 2020
On Tue, 15 Sep 2020 11:08:55 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
This pull request has now been integrated.
Changeset: e2196f88
Author: Stefan Karlsson <stefank at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/e2196f88
Stats: 36 lines in 2 files changed: 1 ins; 0 del; 35 mod
8253162: Make frame::oops_do const
Reviewed-by: kbarrett, coleenp, pliden
-------------
PR: https://git.openjdk.java.net/jdk/pull/175
More information about the hotspot-dev
mailing list