diff -r c3b8486760aa -r b9efc9156778 hotspot/test/Makefile
--- a/hotspot/test/Makefile	Wed Apr 22 14:06:49 2015 -0400
+++ b/hotspot/test/Makefile	Thu Apr 23 16:09:21 2015 +0200
@@ -279,6 +279,8 @@
 # Default JTREG to run
 JTREG = $(JT_HOME)/bin/jtreg
 
+# Use agent mode
+JTREG_BASIC_OPTIONS += -agentvm
 # Only run automatic tests
 JTREG_BASIC_OPTIONS += -a
 # Report details on all failed or error tests, times too