RFR: 8276209: Some call sites doesn't pass the parameter 'size' to SharedRuntime::dtrace_object_alloc(_base)
Denghui Dong
ddong at openjdk.java.net
Sun Oct 31 15:15:28 UTC 2021
Hi,
Could I have a review of this fix that corrects the oop size value of dtrace_object_alloc(_base).
JDK-8039904 added a new parameter 'size' to SharedRuntime::dtrace_object_alloc and dtrace_object_alloc_base, but didn't modified the callsites(interpreter/c1/c2).
To make this fix as simple as possible, I overloaded dtrace_object_alloc_base rather than dtrace_object_alloc.
Thanks,
Denghui
-------------
Commit messages:
- 8276209: Some call sites doesn't pass the parameter 'size' to SharedRuntime::dtrace_object_alloc(_base)
Changes: https://git.openjdk.java.net/jdk/pull/6181/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6181&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8276209
Stats: 11 lines in 4 files changed: 6 ins; 0 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/6181.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6181/head:pull/6181
PR: https://git.openjdk.java.net/jdk/pull/6181
More information about the hotspot-dev
mailing list