test/jdk/sun/tools/jstat/jstatSnap2.sh
changeset 50580 eb0287b637bd
parent 47216 71c04702a3d5
--- a/test/jdk/sun/tools/jstat/jstatSnap2.sh	Fri Jun 15 02:31:37 2018 -0700
+++ b/test/jdk/sun/tools/jstat/jstatSnap2.sh	Thu Jun 14 14:32:03 2018 +0200
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -33,4 +33,4 @@
 
 JSTAT="${TESTJAVA}/bin/jstat"
 
-${JSTAT} -J-XX:+UsePerfData -J-Duser.language=en -J-Djstat.showUnsupported=true -snap 0 2>&1 | awk -f ${TESTSRC}/snap2.awk
+${JSTAT} ${COMMON_JSTAT_FLAGS} -J-Djstat.showUnsupported=true -snap 0 2>&1 | awk -f ${TESTSRC}/snap2.awk