Gérald Quintana ha scritto:
> I took 10078ms (=nearly the timeout duration) to fail.
> What took so much CPU is this loop which doesn't do anything
> while ((ft == null) && ((state != FINISH) && (state != STOP))) {
> yield(); // let the parser run ... this is being called from
> if (d.before(Calendar.getInstance().getTime())) {
> exception = new SAXException("Timeout");
> state = STOP;
> }
> }
Hum, you're right, it seems like an active wait loop now
that I look at it again.
Hem... can you open a Jira issue for this one?
Cheers
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users