RFR: 8260198: TypeInstPtr::dump2() emits multiple lines if Verbose is set [v6]
Evgeny Astigeevich
github.com+42899633+eastig at openjdk.java.net
Tue Feb 23 21:11:39 UTC 2021
On Tue, 23 Feb 2021 19:30:00 GMT, Xin Liu <xliu at openjdk.org> wrote:
> oh, thanks for the head-up. I'm happy to remove os::strdup and os::free pair.
> it seems that replace_no_expand is cumbersome to do what tr_delete does. let me see how it works.
I don't see why it is cumbersome. IMHO, it is logically consistent: replace substring with an empty string without expanding the buffer. The main value is the amount of written code.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2178
More information about the hotspot-compiler-dev
mailing list