RFR: 8253889: Remove ExecMem constant

Aleksey Shipilev shade at openjdk.java.net
Thu Oct 1 09:38:38 UTC 2020


On Thu, 1 Oct 2020 09:22:53 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Maybe it did something in the past. Now it just seems to be a complicated way to say "false".

I think that's a Hotspot style. There are few other places where "symbolic values" for boolean parameters are used. For
example, `CodeBlobToOopClosure::FixRelocations`. `grep 'static const bool'` identify a few more. I personally find it a
tad more readable. So, it is not as useless...

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

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


More information about the hotspot-runtime-dev mailing list