-
Notifications
You must be signed in to change notification settings - Fork 293
/
changes.xml
1145 lines (1128 loc) · 59.6 KB
/
changes.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
This file is also used by the maven-changes-plugin to generate the release notes.
Useful ways of finding items to add to this file are:
1. Add items when you fix a bug or add a feature (this makes the
release process easy :-).
2. Do a JIRA search for tickets closed since the previous release.
3. Use the report generated by the maven-changelog-plugin to see all
SVN commits. TBA how to use this with SVN.
To generate the release notes from this file:
mvn changes:announcement-generate -Prelease-notes [-Dchanges.version=nnn]
then tweak the formatting if necessary
and commit
The <action> type attribute can be add,update,fix,remove.
-->
<document>
<properties>
<title>Apache Commons Pool Release Notes</title>
</properties>
<body>
<release version="2.12.0" date="2021-MM-DD" description="This is a maintenance release (Java 8).">
<!-- FIX -->
<action dev="psteitz" type="fix" issue="POOL-401">
Ensure that capacity freed by invalidateObject is available to all keyed pools.
</action>
<action dev="psteitz" type="fix" due-to="Codievilky August" issue="POOL-391">
Ensure capacity freed by clear is made available to GKOP borrowers.
</action>
<action dev="ggregory" type="fix" issue="POOL-402" due-to="Cp-John, Phil Steitz, Bruno P. Kinoshita, Gary Gregory">
Check blockWhenExhausted in hasBorrowWaiters #116.
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Simplify test assertion with similar call but simpler. #131.
</action>
<!-- ADD -->
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add PooledObject.getFullDuration().
</action>
<!-- UPDATE -->
<action dev="ggregory" type="update" due-to="Dependabot">
Bump spotbugs from 4.3.0 to 4.5.3 #94, #99, #106, #114, #122, #129.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump spotbugs-maven-plugin from 4.3.0 to 4.5.3.0 #102, #110, #119, #125, #128.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump junit-bom from 5.8.0-M1 to 5.8.2 #96, #100, #103, #120.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump checkstyle from 8.45.1 to 9.3 #97, #104, #111, #121, #126, #132.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump maven-pmd-plugin from 3.14.0 to 3.15.0 #101.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump biz.aQute.bndlib from 5.3.0 to 6.1.0 #105, #118.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump actions/checkout from 2.3.4 to 2.4.0 #109, #112.
</action>
<action dev="kinow" type="update" due-to="Dependabot">
Bump actions/cache from 2.1.6 to 2.1.7 #117.
</action>
<action dev="kinow" type="update" due-to="Dependabot">
Bump maven-bundle-plugin from 5.1.3 to 5.1.4 #127.
</action>
</release>
<release version="2.11.1" date="2021-08-18" description="This is a maintenance release (Java 8).">
<!-- FIX -->
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Getting a PooledObject's active duration returns a negative duration when the object is borrowed but not returned. Affects:
- PooledObject.getActiveDuration()
- PooledObject.getActiveTime()
- PooledObject.getActiveTimeMillis()
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
The default implementation of TrackedUse.getLastUsedInstant() uses seconds instead of milliseconds.
This interface is not implemented within Apache Commons Pool but affects Apache Commons DBCP.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
DefaultPooledObject.getIdleTime() drops nanoseconds on Java 9 and greater.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Fix field label in BaseGenericObjectPool toString() builder: From timeBetweenEvictionRunsMillis to durationBetweenEvictionRuns.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Fix field label in BaseObjectPoolConfig toString() builder: From maxWaitMillis to maxWaitDuration.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Fix field label in NoSuchElementException message for GenericObjectPool.borrowObject(Duration): From borrowMaxWaitMillis to borrowMaxWaitDuration.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Reimplement DefaultPooledObject.getIdleDuration() using Duration computation.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Reimplement BaseGenericObjectPool.maxBorrowWait as a Duration instead of a long.
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Minors Changes #89.
</action>
<!-- UPDATE -->
<action dev="ggregory" type="update" due-to="Dependabot">
Bump checkstyle from 8.45 to 8.45.1 #93.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump spotbugs from 4.2.3 to 4.3.0 and ignore new medium warnings EI_EXPOSE_REP and EI_EXPOSE_REP2.
</action>
</release>
<release version="2.11.0" date="2021-08-08" description="This is a feature release (Java 8).">
<!-- FIX -->
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Fix "[WARNING] Old version of checkstyle detected. Consider updating to >= v8.30." Update Checktyle to 8.44.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Make Duration setters use their respective default values when null.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Call swallowException(Exception) instead of printing exceptions to the console in GenericKeyedObjectPool.removeAbandoned(AbandonedConfig) and GenericObjectPool.removeAbandoned(AbandonedConfig).
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Fix Javadoc link reference #91.
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
No need to initialize to default values. #90.
</action>
<!-- ADD -->
<action dev="ggregory" type="add" due-to="Gary Gregory">
Track timestamps with Instants instead of longs.
There is currently no increased precision on Java 8, but starting with Java 9, the JRE SystemClock precision is increased usually down to microseconds, or tenth of microseconds, depending on the OS, Hardware, and JVM implementation.
Add and use:
- DefaultPooledObject.getCreateInstant()
- DefaultPooledObject.getLastUsedInstant()
- PooledObject.getCreateInstant()
- PooledObject.getLastBorrowInstant()
- PooledObject.getLastReturnInstant()
- PooledObject.getLastUsedInstant()
- TrackedUse#getLastUsedInstant()
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add BaseObjectPoolConfig.setEvictorShutdownTimeoutDuration(Duration), deprecate setEvictorShutdownTimeoutMillis(Duration).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add BaseGenericObjectPool.{get|set}MaxWaitDuration(Duration) and deprecate {get|set}MaxWaitMillis(long).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add BaseObjectPoolConfig.{get|set}MaxWaitDuration(Duration) and deprecate {get|set}MaxWaitMillis(long).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and use Duration APIs instead of ints or longs.
- Add and use Duration APIs in BaseGenericObjectPool: getDurationBetweenEvictionRuns(), getEvictorShutdownTimeoutDuration(), getMinEvictableIdleDuration(), getSoftMinEvictableIdleDuration(), setMaxWait(Duration), setMinEvictableIdle(Duration), setSoftMinEvictableIdle(Duration).
- Add and use Duration APIs in BaseObjectPoolConfig: getDurationBetweenEvictionRuns(), getEvictorShutdownTimeoutDuration(),getMinEvictableIdleDuration(), getSoftMinEvictableIdleDuration().
- Add and use Duration APIs in EvictionConfig: getIdleEvictDuration(), getIdleSoftEvictDuration().
- Add and use Duration APIs in PooledObject: getIdleDuration(), getActiveDuration().
- No need to initialize instance variables to their default values.
- Update Javadocs.
- Update toString() implementations with duration labels.
</action>
<action issue="POOL-396" dev="ggregory" type="add" due-to="Jeremy Kong, Phil Steitz">
Handle validation exceptions during eviction. #85.
</action>
<action issue="POOL-395" dev="ggregory" type="add" due-to="Gary Gregory, Arash Nikoo">
Improve exception thrown in GenericObjectPool.borrowObject when pool is exhausted. Added BaseGenericObjectPool.setMessagesStatistics(boolean).
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and use AbandonedConfig.copy(AbandonedConfig) to fix CPD code duplication issues in GenericKeyedObjectPool and GenericObjectPool.
</action>
<action dev="ggregory" type="add" due-to="Gary Gregory">
Pull up AbandonedConfig and related methods from GenericKeyedObjectPool and GenericObjectPool to BaseGenericObjectPool (fix for CPD issues).
- BaseGenericObjectPool.getLogAbandoned()
- BaseGenericObjectPool.getRemoveAbandonedOnBorrow()
- BaseGenericObjectPool.getRemoveAbandonedOnMaintenance()
- BaseGenericObjectPool.getRemoveAbandonedTimeout()
- BaseGenericObjectPool.getRemoveAbandonedTimeoutDuration()
- BaseGenericObjectPool.isAbandonedConfig()
- BaseGenericObjectPool.setAbandonedConfig(AbandonedConfig)
</action>
<!-- UPDATES -->
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Bump org.ow2.asm:asm-util from 9.1 to 9.2.
</action>
<action dev="ggregory" type="fix" due-to="Gary Gregory">
Bump com.github.spotbugs:spotbugs from 4.2.3 to 4.3.0.
</action>
<action dev="ggregory" type="fix" due-to="Dependabot">
Bump checkstyle from 8.44 to 8.45 #92.
</action>
</release>
<release version="2.10.0" date="2021-05-28" description="This is a feature release (Java 8).">
<!-- ADD -->
<action dev="ggregory" type="add" due-to="Gary Gregory">
Add and use java.time.Duration APIs timeouts instead of using ints for seconds.
See the site and its API comparison report for a list of the new Duration-based APIs.
</action>
<action dev="ggregory" type="add" due-to="JSurf, Gary Gregory, Phil Steitz">
Implement AbandonedConfig for GenericKeyedObjectPool #67.
</action>
<!-- FIXES -->
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Simplify Assertions in tests #77.
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Replace C-style array declaration with Java style #80.
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Use Objects.equals(); Use Anonymous type; Use method reference instead Lambda; Replace Loop with Collection.removeIf(). #81.
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Use diamond operator. #82.
</action>
<action dev="ggregory" type="fix" due-to="Arturo Bernal">
Code clean ups. #83.
</action>
<!-- UPDATE -->
<action dev="ggregory" type="update" due-to="Dependabot">
Bump spotbugs-maven-plugin from 4.0.4 to 4.2.1 #48, #53, #59, #62.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump actions/setup-java from v1.4.2 to v2, #47.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump junit from 4.13 to 4.13.1 #50.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump biz.aQute.bndlib from 5.1.2 to 5.3.0, #51, #66.
</action>
<action dev="ggregory" type="update" due-to="Arturo Bernal" issue="POOL-389">
Migrate to JUnit 5 #57.
</action>
<action dev="ggregory" type="update" due-to="Arturo Bernal" issue="POOL-389">
Minor Improvements #58, #60.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump actions/checkout from v2.3.3 to v2.3.4 #54.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump maven-pmd-plugin from 3.13.0 to 3.14.0 #55.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update commons.japicmp.version 0.14.3 -> 0.15.3.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump actions/cache from v2 to v2.1.6 #65, #75, #84.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump maven-checkstyle-plugin from 3.1.1 to 3.1.2 #61.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump asm-util from 9.0 to 9.1 #64.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump spotbugs from 4.2.1 to 4.2.3 #68, #73, #74.
</action>
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">
Bump junit-bom from 5.7.1 to 5.8.0-M1 #76.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump maven-bundle-plugin from 5.1.1 to 5.1.2 #70.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Bump animal-sniffer-maven-plugin from 1.19 to 1.20.
</action>
</release>
<release version="2.9.0" date="2020-09-25" description="This is a minor release (Java 8).">
<action issue="POOL-387" dev="ggregory" type="update" due-to=" Phil Steitz">
Object factory destroy method should carry information on activation context.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Update spotbugs from 4.0.6 to 4.1.3, #37, #41, #46.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Update actions/checkout from v2.3.1 to v2.3.3 #56, #45.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Update actions/setup-java from v1.4.0 to v1.4.2 #42.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Update optional asm-util from 8.0.1 to 9.0 #44.
</action>
</release>
<release version="2.8.1" date="2020-07-27" description="This is a maintenance release (Java 8).">
<action dev="ggregory" issue="POOL-386" type="fix" due-to="Phil Steitz, Mark Thomas">
Refactored EvictionTimer usage tracking to fix POOL-386 and handle abandoned pools. #32.
</action>
<action dev="ggregory" type="fix" due-to="Prodigysov, Gary Gregory">
[Javadoc] Add missing @throws comment in PoolUtils. #27.
</action>
<action dev="ggregory" issue="POOL-384" type="update" due-to="Gary Gregory">
Update optional library org.ow2.asm:asm-util from 7.2 to 8.0.1.
</action>
<action dev="ggregory" issue="POOL-385" type="add" due-to="scholzi100">
Added Automatic-Module-Name to support JPMS #31.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update site reports from org.apache.bcel:bcel 6.4.1 to 6.5.0.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update site reports from maven-pmd-plugin 3.12.0 to 3.13.0.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update build from biz.aQute.bnd:biz.aQute.bndlib 5.1.0 -> 5.1.2.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Update actions/checkout from v1 to v2.3.1 #33.
</action>
<action dev="ggregory" type="update" due-to="Dependabot">
Update commons-parent from 50 to 51 #36.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update Checkstyle plugin from 3.0.0 to 3.1.1.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update JApiCmp from 0.14.1 to 0.14.3.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update animal-sniffer-maven-plugin from 1.16 to 1.19.
</action>
</release>
<release version="2.8.0" date="2019-12-05" description="This is a maintenance release (Java 8).">
<action dev="ggregory" issue="POOL-374" type="fix" due-to="Gary Gregory, Phil Steitz">
GenericKeyedObjectPool.returnObject(K, T) should throw IllegalStateException instead of NullPointerException when a key is not found in the pool map.
</action>
<action dev="ggregory" issue="POOL-375" type="update" due-to="Gary Gregory">
Update optional library cglib from 3.2.12 to 3.3.0.
</action>
<action dev="psteitz" issue="POOL-376" type="fix" due-to="Sazzadul Hoque, Phil Steitz">
Fixed regression from original fix for POOL-356 which could result in NPE when destroying objects.
</action>
<action dev="psteitz" issue="POOL-326" type="fix" due-to="Phil Steitz">
Eliminated NPE / ISE exceptions due to keyed pools being prematurely removed.
</action>
<action dev="ggregory" type="update" due-to="Gary Gregory">
Update site build from Apache Commons BCEL 6.3.1 to 6.4.1.
</action>
<action dev="ggregory" issue="POOL-377" type="update" due-to="Gary Gregory">
Update optional library org.ow2.asm:asm-util from 7.1 to 7.2.
</action>
<action dev="ggregory" issue="POOL-378" type="add" due-to="Gary Gregory">
Deprecate PoolUtils.prefill(ObjectPool, int) in favor of ObjectPool.addObjects(int).
</action>
<action dev="ggregory" issue="POOL-379" type="add" due-to="Gary Gregory">
Deprecate PoolUtils.prefill(KeyedObjectPool, K, int) in favor of KeyedObjectPool.addObjects(K, int).
</action>
<action dev="ggregory" issue="POOL-380" type="add" due-to="Gary Gregory">
Deprecate PoolUtils.prefill(KeyedObjectPool, Collection, int) in favor of KeyedObjectPool.addObjects(Collection, int).
</action>
<action dev="ggregory" type="fix" due-to="emopers">
Close BufferedOutputStream in test before calling toString on underlying BufferedOutputStream #26.
</action>
<action dev="ggregory" type="fix" due-to="Prodigysov">
[Javadoc] Add missing @throws comment in SoftReferenceObjectPool. #28.
</action>
</release>
<release version="2.7.0" date="2019-07-25" description="This is a feature release (Java 8).">
<action dev="ggregory" issue="POOL-364" type="update" due-to="Gary Gregory">
Update from Java 7 to Java 8.
</action>
<action dev="ggregory" issue="POOL-365" type="update" due-to="Gary Gregory">
Update ASM from 7.0 to 7.1
</action>
<action dev="ggregory" issue="POOL-366" type="update" due-to="Gary Gregory">
Update optional library cglib from 3.2.10 to 3.2.12.
</action>
<action dev="ggregory" issue="POOL-367" type="update" due-to="Per Lundberg">
Fix typo in package private method name stopEvitor() -> stopEvictor() #22.
</action>
<action dev="ggregory" issue="POOL-361" type="fix" due-to="Pablo, Phil Steitz, Bruno P. Kinoshita">
Move validation for newly created objects into create(). Fixes #23.
</action>
<action dev="ggregory" type="add" issue="POOL-370" due-to="Mark Thomas, Gary Gregory">
Add org.apache.commons.pool2.PooledObject#getBorrowedCount().
</action>
<action dev="ggregory" type="add" issue="POOL-371" due-to="Matt Sicker, Gary Gregory">
Add org.apache.commons.pool2.PooledObject#setRequireFullStackTrace(boolean).
</action>
<action dev="ggregory" type="fix" issue="POOL-352" due-to=" Volker Kleinschmidt">
CallStackUtils mishandles security manager check part 1.
</action>
</release>
<release version="2.6.2" date="2019-03-05" description="This is a maintenance release (Java 7).">
<action dev="ggregory" issue="POOL-362" type="fix">
Always null out org.apache.commons.pool2.impl.BaseGenericObjectPool.evictionIterator to match org.apache.commons.pool2.impl.BaseGenericObjectPool.evictor.
</action>
<action dev="ggregory" issue="POOL-363" type="fix" due-to="Josh Landin">
Evictor Thread prevents Spring Context shutdown in standalone app.
</action>
<action dev="ggregory" issue="POOL-348" type="fix" due-to="Josh Landin">
The commons-pool-evictor-thread should run as a Deamon.
</action>
</release>
<release version="2.6.1" date="2019-02-08" description="This is a maintenance release (Java 7).">
<action dev="struberg" issue="POOL-340" type="fix" due-to="Pavel Kolesov">
Correct validateObject with concurrent borrowObject
</action>
<action dev="struberg" issue="POOL-356" type="fix">
Fix deadlock on massive concurrent requests
</action>
<action dev="ggregory" issue="POOL-345" type="update">
Update optional library cglib from 3.2.6 to 3.2.9.
</action>
<action dev="ggregory" issue="POOL-346" type="update" due-to="Michael Chen">
Move common configuration setter to BaseGenericObjectPool #9.
</action>
<action dev="ggregory" issue="POOL-347" type="fix" due-to="Shunsuke Nakamura">
Method borrowObject waits for maxWaitMillis over in pool full.
</action>
<action dev="ggregory" issue="POOL-349" type="update">
Update optional library asm-util from 6.2 to 7.0.
</action>
<action dev="ggregory" issue="POOL-359" type="fix" due-to="Michael Wintermeyer, Gary Gregory">
NullPointerException closing multiple GenericObjectPools.
</action>
<action dev="ggregory" issue="POOL-360" type="update">
Update optional library cglib from 3.2.9 to 3.2.10.
</action>
<action dev="ggregory" issue="POOL-326" type="fix" due-to="Chris Allison, Phil Steitz">
Threading issue, NullPointerException and IllegalStateException in GenericKeyedObjectPool.
</action>
<action dev="ggregory" issue="POOL-352" type="fix" due-to="Volker Kleinschmidt, Gary Gregory">
CallStackUtils mishandles security manager check (partial fix.)
</action>
</release>
<release version="2.6.0" date="2018-07-06" description="This is a maintenance release (Java 7).">
<action dev="ggregory" issue="POOL-336" type="update" due-to="Wolfgang Glas">
GenericObjectPool's borrowObject lock if create() fails with Error.
</action>
<action dev="ggregory" issue="POOL-339" type="update">
Update optional library cglib from 3.2.5 to 3.2.6.
</action>
<action dev="markt" issue="POOL-337" type="fix" due-to="Reinald Verheij">
Ensure cancelled eviction tasks are removed from scheduler.
</action>
<action dev="ggregory" issue="POOL-341" type="update">
Update optional library asm-util from 6.0 to 6.1.1.
</action>
<action dev="ggregory" issue="POOL-342" type="update">
Update optional library asm-util from 6.1.1 to 6.2.
</action>
<action dev="ggregory" issue="POOL-338" type="fix" due-to="Michael C, Gary Gregory">
GenericObjectPool constructor may throw an exception under OSGi.
</action>
<action dev="ggregory" issue="POOL-324" type="fix" due-to="Jay Xu, Gary Gregory">
org.apache.commons.pool2.impl.GenericObjectPool.getFactoryType() throws java.lang.ClassCastException.
</action>
<action dev="ggregory" issue="POOL-344" type="fix" due-to="Yulin Wang">
Delete repeated call startEvictor.
</action>
</release>
<release version="2.5.0" date="2017-12-16" description="This is a minor release (Java 7).">
<action dev="ggregory" issue="POOL-331" type="update">
Update from Java 6 to 7.
</action>
<action dev="ggregory" issue="POOL-330" type="delete">
Drop Ant build.
</action>
<action dev="ggregory" issue="POOL-332" type="add">
ObjectPool and KeyedObject pool should extend Closeable.
</action>
<action dev="ggregory" issue="POOL-333" type="update">
Update optional dependency asm-util from 5.2 to 6.0.
</action>
<action dev="ggregory" issue="POOL-334" type="update">
org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot is missing serialVersionUID.
</action>
<action dev="mattsicker" issue="POOL-335" type="add">
Make abandoned logging stack trace requirements configurable. This also reverts
the default behavior introduced by POOL-320.
</action>
<action dev="mattsicker" issue="POOL-335" type="add">
Make abandoned logging stack trace requirements configurable. This also reverts
the default behavior introduced by POOL-320.
</action>
</release>
<release version="2.4.3" date="2017-10-24" description="This is a patch release, including bug fixes only (Java 6).">
<action dev="ggregory" issue="POOL-328" type="fix" due-to="Lorenzo Solano Martinez">
Documentation with repeated words (sources, tests, and examples).
</action>
<action dev="ggregory" issue="POOL-317" type="fix" due-to="KeiichiFujino">
Correction of default value of softMinEvictableIdleTimeMillis in BaseObjectPoolConfig.
</action>
<action dev="ggregory" issue="POOL-309" type="fix" due-to="jolestar, Roopam Patekar">
Fix misspellings from "destory" to "destroy".
</action>
<action dev="markt" issue="POOL-306" type="fix" due-to="Adrian Crum">
Ensure BaseGenericObjectPool.IdentityWrapper#equals() follows the expected
contract for equals().
</action>
<action dev="markt" issue="POOL-303" type="fix">
Ensure that threads do not block indefinitely if more than maxTotal
threads try to borrow an object at the same time and the factory fails to
create any objects.
</action>
<action dev="markt" issue="POOL-280" type="update" due-to="Jacopo Cappellato">
Small refactoring of borrowObject() to reduce code duplication.
</action>
<action dev="markt" issue="POOL-307" type="update" due-to="Anthony Whitford">
Replace inefficient use of keySet with entrySet in GKOP.
</action>
<action dev="markt" issue="POOL-310" type="fix" due-to="Ivan Iliev">
Ensure that threads using GKOP do not block indefinitely if more than
maxTotal threads try to borrow objects with different keys at the same
time and the factory destroys objects on return.
</action>
<action dev="markt" type="fix">
Ensure that any class name used for evictionPolicyClassName represents a
class that implements EvictionPolicy.
</action>
<action dev="markt" issue="POOL-315" type="fix" due-to="KeiichiFujino">
Add a configurable delay (default 10 seconds) to wait when shutting down
an Evictor to allow the associated thread time to complete any current
evictions and to terminate.
</action>
<action dev="markt" type="fix">
Ensure that a call to GKOP preparePool() takes account of other threads
that might create objects concurrently, particularly the Evictor.
</action>
<action dev="mattsicker" issue="POOL-320" type="add">
Use more efficient stack walking mechanisms for usage tracking when possible.
</action>
<action dev="ggregory" issue="POOL-322" type="update">
Update optional cglib library from 3.1 to 3.2.5.
</action>
<action dev="ggregory" issue="POOL-323" type="update">
Update optional OW2 ASM from 5.0.4 to 5.2.
</action>
</release>
<release version="2.4.2" date="2015-08-01" description="This is a patch release, including bug fixes only (Java 6).">
<action dev="psteitz" issue="POOL-298" type="fix">
Changed default jmxNameBase in BaseObjectPoolConfig to the correct (null)
default.
</action>
<action dev="psteitz" issue="POOL-300" type="fix">
Added PrintWriter flush to DefaultPooledObject's printStackTrace method.
</action>
</release>
<release version="2.4.1" date="2015-05-30" description=
"This is a patch release (Java 6), replacing a defective binary jar in version 2.4. Other
than the build configuration, the source distribution for version 2.4.1 is identical
to version 2.4.">
<action dev="psteitz" issue="POOL-297" type="fix">
Reverted cobertura plugin update that caused binary jar corruption.
</action>
</release>
<release version="2.4" date="2015-05-27" description=
"This is a maintenance release that includes bug fixes and minor enhancements (Java 6).">
<action dev="psteitz" type="fix" issue="POOL-287" due-to="Caleb Spare and Thomas Neidhart">
Fixed capacity leak when an object is offered from a GenericKeyedObjectPool while it is
being validated by the evictor.
</action>
<action dev="psteitz" type="fix" issue="POOL-283">
Eliminated the requirement that objects managed by GenericObjectPool or
GenericKeyedObjectPool be discernible by equals. Prior to this fix,
equal but distinct object instances could not be stored in the same pool.
</action>
<action dev="psteitz" type="fix" issue="POOL-284">
Eliminated the requirement that object equality and hashcodes do not change
while objects are under management by GenericObjectPool or GenericKeyedObjectPool.
</action>
<action dev="markt" type="fix" issue="POOL-289" due-to="Luke Winkenbach">
Fixed class loading for custom EvictionPolicy implementations that may not
be present in the class loader hierarchy of the Pool classes by falling
back to the class loader of the current class.
</action>
<action dev="psteitz" type="fix" issue="POOL-285">
Ensured that when an instance that has already been returned to a pool is
returned again, the expected IllegalStateException is generated before the
returning object is re-validated or re-passivated.
</action>
<action dev="psteitz" type="add" issue="POOL-286">
Added preparePool method to GenericObjectPool.
</action>
<action dev="ggregory" type="update" issue="POOL-296">
Update asm-util from 5.0.3 to 5.0.4.
</action>
<action dev="psteitz" type="update" issue="POOL-293">
Exposed getEvictionPolicy as protected in BaseGenericObjectPool.
</action>
</release>
<release version="2.3" date="2014-12-30" description=
"This is a maintenance release that includes bug fixes and minor enhancements (Java 6).">
<action dev="psteitz" type="fix" issue="POOL-279" due-to="Jacopo Cappellato">
Eliminated possibility that DefaultPoolObject#getIdleTimeMillis() could
return a negative value. Use by pool implementations would not hit this
bug.
</action>
<action dev="psteitz" type="fix" issue="POOL-275">
Made wrapped BaseProxyHandler.pooledObject volatile.
</action>
<action dev="ecki" type="fix" issue="POOL-277" due-to="Lucas Pouzac">
Replace synchronisation with lock-free maxBorrowWaitTimeMillis to
increase scalability.
</action>
<action dev="markt" type="fix" issue="POOL-276">
Ensure that objects are not validated on borrow when testOnBorrow is set
to false, testOnCreate is set to true and the pool is exhausted at the
point borrowObject() is called.
</action>
<action dev="psteitz" type="fix" issue="POOL-270" due-to="Michael Berman">
Fixed error in GenericKeyedObjectPool constructor causing minEvictableIdleTimeMillis
to be used in place of timeBetweenEvictionRunsMillis in eviction timer setup
when a GenericKeyedObjectPoolConfig instance is supplied to the constructor.
</action>
<action dev="markt" type="fix" issue="POOL-263">
Fix a threading issue that meant that concurrent calls to close() and
returnObject() could result in some returned objects not being destroyed.
</action>
<action dev="psteitz" type="add" issue="POOL-262">
Made fairness configurable for GenericObjectPool, GenericKeyedObjectPool.
</action>
<action dev="markt" type="fix" issue="POOL-261">
Correctly mark cglib as an optional dependency and ensure that the OSGi
manifest information reflects that.
</action>
<action dev="markt" type="fix">
Improve performance of statistics collection for pools that extend
BaseGenericObjectPool.
</action>
<action dev="psteitz" type="fix" issue="POOL-259">
Made client wait time statistics accurate when pools are configured to
block indefinitely. Also modified computation to include latency clients
experience due to waiting on factory methods.
</action>
<action dev="ggregory" type="update" issue="POOL-273">
Update cglib to 3.1 from 3.0.
</action>
<action dev="ggregory" type="update" issue="POOL-274">
Update asm-util to 5.0.3 from 4.0.
</action>
<action dev="markt" type="fix">
Prevent potential memory leaks when the Pool is dereferenced without being
closed.
</action>
<action dev="markt" type="fix">
Prevent potential memory leaks with using an Evictor in a container
environment.
</action>
<action dev="markt" type="fix">
Protect against a user provided eviction policy throwing an exception and
stopping the Evictor thread.
</action>
<action dev="markt" type="fix">
Use the thread context class loader to load custom eviction policies. This
allows application provided eviction policies to be used in a container
environment when the pooling implementation is provided by the container.
</action>
<action dev="markt" type="fix" issue="POOL-281">
Fix a potential infinite loop in the underlying Deque implementation.
</action>
</release>
<release version="2.2" date="2014-02-24" description=
"This is a maintenance release (Java 6) that adds a new testOnCreate configuration option
and fixes a small number of bugs.">
<action issue="POOL-248" dev="markt" type="fix" due-to="Warren Chen">
Ensure that if an attempt is made to return an object multiple times that
the current active and idle object counts are not corrupted.
</action>
<action issue="POOL-249" dev="markt" type="fix" due-to="Ville Skyttä">
Fix Javadoc issues when building docs with Java 8.
</action>
<action dev="markt" type="fix">
Fix the remaining Javadoc warnings.
</action>
<action dev="markt" type="add">
Add a new validation configuration option testOnCreate that tests an
object immediately after it is created.
</action>
</release>
<release version="2.1" date="2013-12-30" description=
"This is a maintenance release (Java 6) that includes a small number of new features as well as
including bugfixes and test case improvements.">
<action issue="POOL-243" dev="psteitz" type="fix" due-to="Michal Sabo">
Added missing create counter decrement in GenericKeyedObjectPool create method on factory
exception path. Prior to this fix, exceptions thrown by factory makeObject calls could leak
per key capacity.
</action>
<action issue="POOL-240" dev="psteitz" type="fix" due-to="Dan McNulty">
Ensured that blocked threads waiting on a depleted pool get served when
objects are destroyed due to validation or passivation failures in
returnObject or when a checked out instance is invalidated.
</action>
<action issue="POOL-241" dev="markt" type="add" due-to="Bruno P. Kinoshita">
Expand the coverage of the unit tests.
</action>
<action dev="markt" type="add">
Provide more control over the names under which Pools are registered in
JMX so components using the pools can register the pools they use under a
related name.
</action>
<action dev="markt" type="add">
Include the number of times an object has been borrowed from the Pool when
the DefaultPooledObject wrapper is used and expose this property via JMX.
</action>
<action issue="POOL-245" dev="markt" type="fix" due-to="Bruno P. Kinoshita">
Remove a duplicate null check and fix some typos in PoolUtils.
</action>
<action issue="POOL-246" dev="markt" type="fix" due-to="Bruno P. Kinoshita">
Make the toString() method of ErodingKeyedObjectPool consistent with the
other pools.
</action>
<action issue="POOL-245" dev="markt" type="add" due-to="Bruno P. Kinoshita">
Further expansion of the coverage of the unit tests.
</action>
</release>
<release version="2.0" date="2013-11-11" description=
"This is a major new release (Java 6) that provides significant performance improvements
in high concurrency environments. Pools now provide a mechanism for tracking
objects that have been borrowed from the pool but not returned. There have been
numerous API changes to support these and other new features as well as to
clarify behavior and improve consistency across the API. This release requires
JDK level 1.6 or above.">
<action issue="POOL-211" dev="markt" type="add" due-to="Brad Koehn">
Add support for proxy wrappers to ObjectPool and KeyedObjectPool. The
primary advantage of these wrappers is that use of pooled objects is
prevented after they have been returned to the pool.
</action>
<action issue="POOL-229" dev="psteitz" type="update">
Added abandoned object removal (moved from DBCP) to GenericObjectPool.
</action>
<action issue="POOL-221" dev="markt" type="fix" >
PooledObject.state does not need to be volatile
</action>
<action issue="POOL-220" dev="markt" type="fix">
Suppress a FindBugs warning
</action>
<action issue="POOL-217" dev="markt" type="update" due-to="sebb">
Use an IODH for PoolUtils.MIN_IDLE_TIMER
</action>
<action issue="POOL-216" dev="markt" type="update" >
GenericKeyedObjectPool.ensureMinIdle(K) does not need to check getMinIdlePerKey().
</action>
<action issue="POOL-215" dev="markt" type="fix" >
GenericKeyedObjectPool - multiple mutable fields not published safely.
</action>
<action issue="POOL-214" dev="markt" type="fix" >
GenericObjectPool.evictionPolicy not thread-safe
</action>
<action issue="POOL-212" dev="markt" type="fix" >
GenericObjectPool allows maxIdle < minIdle
</action>
<action issue="POOL-207" dev="markt" type="fix" >
GenericKeyedObjectPool.clear() has unnecessary null check of objectDequeue
</action>
<action issue="POOL-201" dev="markt" type="fix" >
Classes Generic[Keyed]ObjectPoolConfig are generic - but why?
</action>
<action issue="POOL-200" dev="markt" type="fix" >
GOP/GKOP don't consistently use getters to access fields
</action>
<action issue="POOL-199" dev="markt" type="fix" >
GOP/GKOP evict() method is not synchronized and is not thread-safe
</action>
<action issue="POOL-197" dev="markt" type="fix" >
PooledObject: risky init of lastBorrowTime & lastReturnTime
</action>
<action issue="POOL-196" dev="markt" type="fix" >
PooledObject.getActiveTimeMillis() does not synch. access to lastReturnTime and lastBorrowTime
</action>
<action issue="POOL-194" dev="simonetripodi" type="update" date="2011-12-12">
Replace synchronized blocks in PoolUtils with Read/Write locks.
</action>
<action issue="POOL-83" dev="simonetripodi" type="update" date="2011-04-28">
Support Java 1.5 Generics.
</action>
<action issue="POOL-186" dev="simonetripodi" type="update" date="2011-04-28">
Developer documentation and examples have to be updated once the 2.0 repackaging has been done
</action>
<action dev="markt" type="update">
Switch GOP to use a pooling mechanism based on java.util.concurrent and a
LinkedBlockingQueue implementation from Apache Harmony (originally by Doug
Lea and the JSR-166 expert group).
</action>
<action dev="markt" type="update">
Make deprecated protected attributes private, requiring that access is via
the appropriate getters.
</action>
<action dev="markt" type="update">
Code clean-up. Add missing @Override annotations, remove unused code,
remove deprecated code and unnecessary code.
</action>
<action dev="markt" type="update">
Introduce an Enum (WhenExhaustedAction) to control pool behavior when no
more objects are available to allocate.
</action>
<action dev="markt" type="update">
Remove WhenExhuastedAction.GROW since it is equivalent to
WhenExhuastedAction.FAIL with a maxActive value of Integer.MAX_VALUE.
</action>
<action issue="POOL-188" dev="markt" type="fix" due-to="sebb">
Remove confusing method PoolUtils.ErodingKeyedObjectPool.numIdle(K key).
</action>
<action issue="POOL-155" dev="markt" type="update">
Guard against multiple returns of the same object to the pool and ensure
that only objects borrowed from the pool are returned to it.
</action>
<action issue="POOL-150" dev="markt" type="fix">
Ensure GKOP.preparePool() throws an exception if no factory has been
defined.
</action>
<action issue="POOL-134" dev="markt" type="fix">
Add the ability to specify a per call wait time when borrowing an object.
</action>
<action issue="POOL-121" dev="markt" type="fix">
Provide a name for the eviction timer thread.
</action>
<action dev="markt" type="update">
Remove setFactory() method from GOP.
</action>
<action issue="POOL-173" dev="markt" type="fix">
Reduce duplication in configuration code.
</action>
<action issue="POOL-178" dev="markt" type="fix">
Re-factor common code into common base classes.
</action>
<action issue="POOL-172" dev="markt" type="update">
Expose GOP and GKOP attributes via JMX.
</action>
<action issue="POOL-98" dev="markt" type="update">
Add additional attributes (also accessible via JMX) for monitoring.
</action>
<action dev="markt" type="update">
Change meaning of zero for maxWait to a maximum wait of zero milliseconds
rather than the unexpected infinite wait.
</action>
<action issue="POOL-100" dev="markt" type="fix">
Allow custom eviction policies to be defined.
</action>
<action issue="POOL-211" dev="markt" type="add" due-to="Brad Koehn">
Add support for proxy wrappers for ObjectPool and KeyedObjectPool. The
primary advantage of using these wrappers is that use of pooled objects
is prevented after they have been returned to the pool.
</action>
</release>
<release version="1.6" date="2012-01-07" description="Adds generics (Java 5).">
<action dev="ggregory" type="add" issue="POOL-208">
Support Java 1.5 Generics in version 1.x.
</action>
</release>
<release version="1.5.7" date="2011-12-20" description="This is a patch release, including bugfixes only.">
<action dev="psteitz" type="fix" issue="POOL-189" due-to="Bill Speirs">
Awaken threads waiting on borrowObject when a pool has been closed and have them throw
IllegalStateException. Prior to the fix for this issue, threads waiting in borrowObject when
close was invoked on GOP or GKOP would block indefinitely.
</action>
<action dev="psteitz" type="fix" issue="POOL-192" due-to="Helge Dannenberg">
Corrected total internal processing counter update in destroy. Prior to the fix
for this issue, clear(key) was leaking capacity associated with elements in the
pool being cleared.
</action>
</release>
<release version="1.5.6" date="2011-04-03" description="This is a patch release, including bugfixes only.">
<action dev="markt" type="fix" issue="POOL-179" due-to="Axel Grossmann">
Correctly handle an InterruptedException when waiting for an object from
the pool.
</action>
<action dev="markt" type="fix" issue="POOL-180">
Only stop tracking objects for a key when there are no idle objects, no
active objects and no objects being processed.
</action>
<action dev="markt" type="update" issue="POOL-181">
Make BaseObjectPool.isClosed() public.
</action>
<action dev="markt" type="fix" issue="POOL-184" due-to="Adrian Nistor">
Correct bug that could lead to inappropriate pool starvation when evict()
and borrowObject() are called concurrently.
</action>
<action dev="markt" type="fix" due-to="psteitz">
Fix performance issues when object destruction has latency.
</action>
</release>
<release version="1.5.5" date="2010-09-10" description=
"This is a patch release, including bugfixes, documentation improvements and some deprecations
in preparation for pool 2.0.">
<action dev="psteitz" type="update" issue="POOL-169">
In preparation for pool 2.0, deprecated direct access to protected fields
and setFactory methods. In pool 2.0, pool object factories will be immutable.
</action>
<action dev="psteitz" type="fix" issue="POOL-158">
Made GenericKeyedObjectPool._minIdle volatile.
</action>
<action dev="markt" type="fix" issue="POOL-161">
Made the default context class loader for the eviction thread the same loader that loads
the library to prevent memory leaks in multiple class loader environments.
</action>
<action dev="sebb" type="update" issue="POOL-166">
GenericKeyedObjectPool.destroy could use entrySet() rather than keySet() followed by get()
</action>
<action dev="psteitz" type="fix" issue="POOL-157" due-to="David Hu">
GenericObjectPool and GenericKeyedObjectPool setFactory methods destroy idle instances
in the pool by contract. Prior to the fix for this issue, newly set factories were being
used to destroy idle instances, rather than the factories used to create them. The
setFactory methods have also been deprecated, to be removed in version 2.0.
</action>
<action dev="sebb" type="update" issue="POOL-156">
ObjectPool classes can ignore Throwable. Added consistent handling for Throwables
that are normally swallowed including always re-throwing certain Throwables (e.g. ThreadDeath).
</action>
<action dev="markt" type="fix" issue="POOL-162">
When waiting threads are interrupted, GOP, GKOP may leak capacity.
</action>
<action dev="psteitz" type="fix" issue="POOL-154" due-to="Glen Mazza">
Documentation for the close method in GenericObjectPool and GenericKeyedObjectPool
incorrectly states that this method does not clear the pool.
</action>
</release>
<release version="1.5.4" date="2009-11-20" description=
"This is a patch release containing a fix for POOL-152, a regression
introduced in version 1.5.">
<action dev="markt" type="fix" issue="POOL-152" due-to="Bushov Alexander">
GenericObjectPool can block forever in borrowObject when the pool is exhausted and a newly created
object fails validation. When borrowing an object if a new object is created but validate fails,
the latch should not be returned to the queue as an exception will be thrown.
</action>
</release>
<release version="1.5.3" date="2009-09-21" description=
"This is a patch release containing a fix for POOL-149, a regression
introduced in version 1.5.">
<action dev="markt" type="fix" issue="POOL-149" due-to="Shuyang Zhou">
Fix case where a thread could end up waiting indefinitely even if objects
were available. Also fixes a couple of leaks in the internal processing
object count that could lead to pool exhaustion.
</action>
</release>
<release version="1.5.2" date="2009-07-12" description=
"This is a patch release containing fixes for POOL-146 and POOL-147, regressions
introduced in version 1.5.">
<action dev="markt" type="fix" issue="POOL-146">
Handle the case where one key has reached maxActive but other keys have not.
Prior to the fix for this issue, threads waiting on objects from keyed pools
still having instances available could be blocked by a thread requesting an
instance from an exhausted pool.
</action>
<action dev="markt" type="fix" issue="POOL-147" due-to="Giambattista Bloisi">
Fix case where a thread could end up waiting indefinitely even if objects
were available.
</action>
<action dev="markt" type="fix" issue="POOL-145">
Ensure that the GenericKeyedObjectPool idle object evictor does not visit the
same instance more than once per eviction run.
</action>
</release>
<release version="1.5.1" date="2009-06-16" description=
"This is a patch release containing a fix for POOL-144, a regression introduced
in version 1.5.">
<action dev="markt" type="fix" issue="POOL-144">
When exhausted action is set to WHEN_EXHAUSTED_BLOCK, maxwait is positive and
client threads time out waiting for idle objects, capacity can be "leaked"
from GenericObjectPools and GeneritCkeyedObjectPools.
</action>
</release>
<release version="1.5" date="2009-06-10" description=
"This is a maintenance release including several important bug fixes. This release
is source and binary compatible with versions 1.3 and 1.4 of commons pool. In addition
to resolving some important concurrency-related bugs (POOL-135, POOL-125, POOL-29
POOL-107) this release implements a fairness algorithm to ensure that threads waiting
for available object instances from GenericObjectPools and GenericKeyedObjectPools are served
in request arrival order.">
<action dev="markt" type="fix" issue="POOL-139" due-to="Sebastian Bazley">
StackKeyedObjectPool.getNumActive() needs to be synchronized.
</action>
<action dev="markt" type="fix" issue="POOL-137" due-to="Sebastian Bazley">
Inconsistent synchronization in GenericObjectPool; constant fields should be final.
</action>
<action dev="markt" type="fix" issue="POOL-75" due-to="Takayuki Kaneko and Gordon Mohr">
GenericObjectPool not FIFO with respect to borrowing threads.
</action>
<action dev="markt" type="fix" issue="POOL-135">
_numActive > _maxActive under load
</action>
<action dev="markt" type="fix" issue="POOL-125">
Insufficient control over concurrent access to pooled objects by Evictor, client threads.
</action>
<action dev="markt" type="fix" issue="POOL-107">
Number of connections created has crossed more than maxActive.
</action>
<action dev="markt" type="fix" issue="POOL-122">
java.util.Timer in EvictionTimer does not recover from OutOfMemoryError in Evictor.