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);
}
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);
}
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);
}
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);
}
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);
}
Aggregations