moved initRequestEvaluator beneath the
type manager check.
This commit is contained in:
parent
4ae884c47e
commit
bb3ab86969
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue