11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 package compiler.testlibrary.rtm;
26
27 import java.util.EnumMap;
28 import java.util.LinkedList;
29 import java.util.List;
30 import java.util.Map;
31 import java.util.regex.Pattern;
32 import java.util.regex.Matcher;
33
34 /**
35 * Wrapper for +UsePreciseRTMLockingStatistics output.
36 *
37 * Example of locking statistics:
38 *
39 * java/lang/ClassLoader.loadClass@7
40 * # rtm locks total (estimated): 0
41 * # rtm lock aborts : 13
42 * # rtm lock aborts 0: 12
43 * # rtm lock aborts 1: 0
44 * # rtm lock aborts 2: 0
45 * # rtm lock aborts 3: 0
46 * # rtm lock aborts 4: 0
47 * # rtm lock aborts 5: 0
48 */
49 public class RTMLockingStatistics {
50 /**
51 * Pattern for aborts per abort type entries.
52 */
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 package compiler.testlibrary.rtm;
26
27 import java.util.EnumMap;
28 import java.util.LinkedList;
29 import java.util.List;
30 import java.util.Map;
31 import java.util.regex.Matcher;
32 import java.util.regex.Pattern;
33
34 /**
35 * Wrapper for +UsePreciseRTMLockingStatistics output.
36 *
37 * Example of locking statistics:
38 *
39 * java/lang/ClassLoader.loadClass@7
40 * # rtm locks total (estimated): 0
41 * # rtm lock aborts : 13
42 * # rtm lock aborts 0: 12
43 * # rtm lock aborts 1: 0
44 * # rtm lock aborts 2: 0
45 * # rtm lock aborts 3: 0
46 * # rtm lock aborts 4: 0
47 * # rtm lock aborts 5: 0
48 */
49 public class RTMLockingStatistics {
50 /**
51 * Pattern for aborts per abort type entries.
52 */
|