misleading increments during monitoring via JMX.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@554587
13f79535-47bb-0310-9956-
ffa450edef68
}
public int getSequence() {
+ return sequence;
+ }
+
+ public int incSequence() {
return sequence++;
}
this.p = p;
t = new ThreadWithAttributes(p, this);
t.setDaemon(true);
- t.setName(p.getName() + "-Processor" + p.getSequence());
+ t.setName(p.getName() + "-Processor" + p.incSequence());
t.setPriority(p.getThreadPriority());
p.addThread( t, this );
noThData=true;
<subsection name="Coyote">
<changelog>
<fix>
+ Separate sequence increment from getter in ThreadPool to avoid
+ misleading increments during monitoring via JMX. (rjung)
+ </fix>
+ <fix>
Add back missing socketBuffer attribute in the java.io HTTP connector (remm)
</fix>
</changelog>