diff -r 2c3cc4b01880 -r c16ac7a2eba4 src/hotspot/share/jfr/recorder/service/jfrRecorderThreadLoop.cpp --- a/src/hotspot/share/jfr/recorder/service/jfrRecorderThreadLoop.cpp Wed Oct 30 16:14:56 2019 +0100 +++ b/src/hotspot/share/jfr/recorder/service/jfrRecorderThreadLoop.cpp Wed Oct 30 19:43:52 2019 +0100 @@ -40,6 +40,7 @@ #define START (msgs & (MSGBIT(MSG_START))) #define SHUTDOWN (msgs & MSGBIT(MSG_SHUTDOWN)) #define ROTATE (msgs & (MSGBIT(MSG_ROTATE)|MSGBIT(MSG_STOP))) + #define FLUSHPOINT (msgs & (MSGBIT(MSG_FLUSHPOINT))) #define PROCESS_FULL_BUFFERS (msgs & (MSGBIT(MSG_ROTATE)|MSGBIT(MSG_STOP)|MSGBIT(MSG_FULLBUFFER))) #define SCAVENGE (msgs & (MSGBIT(MSG_DEADBUFFER))) @@ -72,6 +73,8 @@ service.start(); } else if (ROTATE) { service.rotate(msgs); + } else if (FLUSHPOINT) { + service.flushpoint(); } JfrMsg_lock->lock(); post_box.notify_waiters(); @@ -90,6 +93,7 @@ #undef START #undef SHUTDOWN #undef ROTATE + #undef FLUSHPOINT #undef PROCESS_FULL_BUFFERS #undef SCAVENGE }