# HG changeset patch # User egahlin # Date 1568787610 -7200 # Node ID 2654d1b665bf37e54d75ef42c44f0e59a947c9a8 # Parent 2d147d680311de790abac818a487142dcbfc4c93 Javadoc change diff -r 2d147d680311 -r 2654d1b665bf src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java --- a/src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java Wed Sep 18 08:00:36 2019 +0200 +++ b/src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java Wed Sep 18 08:20:10 2019 +0200 @@ -54,7 +54,7 @@ * By default, the same {@code RecordedEvent} object can be used for * representing two or more distinct events. The object can be delivered * multiple times to the same action as well as to other actions. If the life - * cycle of the event object exceeds the scope of an action, the + * span of the event object exceeds that of the action, the * {@link #setReuse(boolean)} method should be set to {@code false} so that a * new object is allocated for each event. *

@@ -76,8 +76,8 @@ *

* When a stream ends it is automatically closed. To manually stop processing of * events, close the stream by invoking the {@link #close()} method. A stream - * can also be automatically closed in exceptional circumstances, for example - * if the JVM that is being monitored exits. To receive a notification in any of + * can also be automatically closed in exceptional circumstances, for example if + * the JVM that is being monitored exits. To receive a notification in any of * these occasions, use the {@link #onClose(Runnable)} method to register an * action. *