8199561: Fix two typos in the JVMTI documentation

Fix two typos in the JVMTI documentation

Reviewed-by: sspitsyn, dholmes
This commit is contained in:
Jean Christophe Beyler 2018-03-14 09:58:53 -07:00 committed by Jean Christophe Beyler
parent 24fd306c51
commit 8fe2f1412c

View File

@ -693,7 +693,7 @@ Agent_OnUnload_L(JavaVM *vm)</example>
mechanism causes the unload (an unload mechanism is not specified in this document)
or the library is (in effect) unloaded by the termination of the VM whether through
normal termination or VM failure, including start-up failure.
Uncontrolled shutdown is, of couse, an exception to this rule.
Uncontrolled shutdown is, of course, an exception to this rule.
Note the distinction between this function and the
<eventlink id="VMDeath">VM Death event</eventlink>: for the VM Death event
to be sent, the VM must have run at least to the point of initialization and a valid
@ -9405,7 +9405,7 @@ myInit() {
the event <paramlink id="event_type"></paramlink> will be disabled
</constant>
</constants>
If <code>thread</code> is <code>NULL</code>,
If <code>event_thread</code> is <code>NULL</code>,
the event is enabled or disabled globally; otherwise, it is
enabled or disabled for a particular thread.
An event is generated for