RFR: JDK-8266503: [ul] Make Decorations safely copy-able and reduce their size (first attempt, closed)
Xin Liu
xliu at openjdk.java.net
Thu May 6 06:01:01 UTC 2021
On Thu, 6 May 2021 05:26:40 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Really? It decreases your planned message buffer size, no?
Yes, I am happy to see it reduces the size of each payload. but sometimes smaller memory footprint doesn't change to runtime performance directly. From my measurement, LogDecoration doesn't impact that much.
Check out this performance comparison. I found that copying 20 bytes is almost identical to copying 256 bytes.
https://github.com/openjdk/jdk/pull/3855#issuecomment-832324143
-------------
PR: https://git.openjdk.java.net/jdk/pull/3855
More information about the hotspot-runtime-dev
mailing list