jdk/test/sun/tools/jps/jps-Vvml_Output1.awk
author dholmes
Tue, 20 Sep 2011 22:20:05 -0400
changeset 10604 3f7bd2de5067
parent 2 90ce3da70b43
permissions -rw-r--r--
7012206: ~20 tools tests failing due to -XX:-UsePerfData default in Java SE Embedded Summary: Explicitly enable UsePerfData for the tools that require it to be enabled Reviewed-by: alanb, ohair
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
BEGIN	{
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
	    totallines=0; matched=0
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
	}
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
/^[0-9]+ sun.tools.jps.Jps -Vvml.*-XX:Flags=.*vmflags.* \+DisableExplicitGC$/	{
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
	    matched++;
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
	}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
	{ totallines++; print $0 }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
END	{
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
	    if ((totallines > 0) && (matched >= 1)) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
	        exit 0
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
	    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
	    else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
	        exit 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
	    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
	}