RFR: 8253717: Relocate stack overflow code out of thread.hpp/cpp [v3]

Coleen Phillimore coleenp at openjdk.java.net
Wed Oct 7 15:22:32 UTC 2020


On Wed, 7 Oct 2020 14:42:29 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> src/hotspot/share/runtime/stackOverflow.hpp line 141:
>> 
>>> 139:     _stack_red_zone_size = s;
>>> 140:   }
>>> 141:   address stack_red_zone_base() {
>> 
>> could be const (as could a couple of others, I won't mark them individually)
>
> The static member functions can't have const.  Let me see if there are others.

I added some 'const's and pushed up the commit.  It is perfect now.

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

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


More information about the hotspot-dev mailing list