misleading increments during monitoring via JMX.
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@554588
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;
</fix>
</changelog>
</subsection>
+ <subsection name="Coyote">
+ <changelog>
+ <fix>
+ Separate sequence increment from getter in ThreadPool to avoid
+ misleading increments during monitoring via JMX. (rjung)
+ </fix>
+ </changelog>
+ </subsection>
<subsection name="Webapps">
<changelog>
<fix>