Add support for JVMTI monitor events.

Adds support for the JVMTI can_generate_monitor_events capability and
all associated events. This adds support for the
JVMTI_EVENT_MONITOR_WAIT, JVMTI_EVENT_MONITOR_WAITED,
JVMTI_EVENT_MONITOR_CONTENDED_ENTER, and
JVMTI_EVENT_MONITOR_CONTENDED_ENTERED events.

Bug: 65558434
Bug: 62821960
Bug: 34415266

Test: ./test.py --host -j50

Change-Id: I0fe8038e6c4249e77d37a67e5056b5d2a94b6f48
diff --git a/test/run-test b/test/run-test
index 9996986..79f3d1e 100755
--- a/test/run-test
+++ b/test/run-test
@@ -810,6 +810,7 @@
 good="no"
 good_build="yes"
 good_run="yes"
+export TEST_RUNTIME="${runtime}"
 if [ "$dev_mode" = "yes" ]; then
     "./${build}" $build_args 2>&1
     build_exit="$?"