Search in sources :

Example 36 with ILineRule

use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.

the class MonitorTagParser method addMonObject.

/**
 */
private void addMonObject() {
    ILineRule lineRule = new MonitorObjectLineRule() {

        public void processLine(String source, int startingOffset) {
            addMonitorObjectNameAndAddress();
        }
    };
    addTag(T_3LKMONOBJECT, lineRule);
}
Also used : ILineRule(com.ibm.dtfj.javacore.parser.framework.tag.ILineRule)

Example 37 with ILineRule

use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.

the class MonitorTagParser method addWaitNotify.

/**
 */
private void addWaitNotify() {
    ILineRule lineRule = new MonitorObjectLineRule() {

        public void processLine(String source, int startingOffset) {
            addVMThreadInformation();
        }
    };
    addTag(T_3LKWAITNOTIFY, lineRule);
}
Also used : ILineRule(com.ibm.dtfj.javacore.parser.framework.tag.ILineRule)

Example 38 with ILineRule

use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.

the class MonitorTagParser method addMonInUse.

/**
 */
private void addMonInUse() {
    ILineRule lineRule = new MonitorObjectLineRule() {

        public void processLine(String source, int startingOffset) {
            addSystemAndInflatedThdInfo();
        }
    };
    addTag(T_2LKMONINUSE, lineRule);
}
Also used : ILineRule(com.ibm.dtfj.javacore.parser.framework.tag.ILineRule)

Example 39 with ILineRule

use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.

the class MonitorTagParser method addPoolTotal.

/**
 */
private void addPoolTotal() {
    ILineRule lineRule = new LineRule() {

        public void processLine(String source, int startingOffset) {
            consumeUntilFirstMatch(CommonPatternMatchers.colon);
            addToken(TOTAL_MONITORS, CommonPatternMatchers.dec);
        }
    };
    addTag(T_2LKPOOLTOTAL, lineRule);
}
Also used : LineRule(com.ibm.dtfj.javacore.parser.framework.tag.LineRule) ILineRule(com.ibm.dtfj.javacore.parser.framework.tag.ILineRule) ILineRule(com.ibm.dtfj.javacore.parser.framework.tag.ILineRule)

Example 40 with ILineRule

use of com.ibm.dtfj.javacore.parser.framework.tag.ILineRule in project openj9 by eclipse.

the class MemoryTagParser method addSectionName.

protected void addSectionName() {
    ILineRule lineRule = new LineRule() {

        public void processLine(String source, int startingOffset) {
            consumeUntilFirstMatch(CommonPatternMatchers.whitespace);
            addToken(MEMORY_SEGMENT_NAME, CommonPatternMatchers.allButLineFeed);
        }
    };
    addTag(T_1STSEGTYPE, lineRule);
}
Also used : LineRule(com.ibm.dtfj.javacore.parser.framework.tag.LineRule) ILineRule(com.ibm.dtfj.javacore.parser.framework.tag.ILineRule) ILineRule(com.ibm.dtfj.javacore.parser.framework.tag.ILineRule)

Aggregations

ILineRule (com.ibm.dtfj.javacore.parser.framework.tag.ILineRule)46 LineRule (com.ibm.dtfj.javacore.parser.framework.tag.LineRule)31 PointerSizeLineRule (com.ibm.dtfj.javacore.parser.j9.section.common.PointerSizeLineRule)6 IParserToken (com.ibm.dtfj.javacore.parser.framework.scanner.IParserToken)1 Matcher (java.util.regex.Matcher)1