Relates :
|
Quite a few places in Hotspot code sending JFR events look like this: EventXYZ event; event.set_X(a) event.set_Y(b); ... event.commit(); This could be simplified by using the variant of the commit() method taking the arguments directly, ie. EventXYZ event; event.commit(a, b, ...) Maybe even the set_* methods become obsolete by doing this. Suggested during the discussion of JDK-8211213 on the hotspot-dev mailing list.
|