RFR: 8270179: Rename Amalloc_4

Kim Barrett kbarrett at openjdk.java.net
Mon Jul 12 05:09:53 UTC 2021


On Sun, 11 Jul 2021 23:28:37 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> Why do we still have UseMallocOnly? There's one test for it but why.

Presumably to let a developer compare the behavior of malloc vs arena-based allocation, either for correctness or performance.  It's a developer option, so we're free to nuke it without deprecation or anything like that.  I wouldn't object to that; it seems like a rather crude hammer for such uses (more interesting for performance would be to control a specific arena).  Though because it's a developer option it also doesn't affect product builds.

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

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


More information about the hotspot-dev mailing list