moved initRequestEvaluator beneath the

type manager check.
This commit is contained in:
hns 2001-08-31 15:41:45 +00:00
parent 4ae884c47e
commit bb3ab86969

View file

@ -137,15 +137,14 @@ public class RequestEvaluator implements Runnable {
// when it's time to quit because another thread took over. // when it's time to quit because another thread took over.
Transactor localrtx = (Transactor) Thread.currentThread (); Transactor localrtx = (Transactor) Thread.currentThread ();
// evaluators are only initialized as needed, so we need to check that here
if (!initialized)
app.typemgr.initRequestEvaluator (this);
try { try {
do { do {
// long startCheck = System.currentTimeMillis (); // long startCheck = System.currentTimeMillis ();
app.typemgr.checkPrototypes (); app.typemgr.checkPrototypes ();
// evaluators are only initialized as needed, so we need to check that here
if (!initialized)
app.typemgr.initRequestEvaluator (this);
// System.err.println ("Type check overhead: "+(System.currentTimeMillis ()-startCheck)+" millis"); // System.err.println ("Type check overhead: "+(System.currentTimeMillis ()-startCheck)+" millis");
IPathElement root, currentElement; IPathElement root, currentElement;