summaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/test/java/com/yahoo/jdisc/core
Commit message (Collapse)AuthorAgeFilesLines
* Update 2018 copyright notices.gjoranv2021-10-071-1/+1
|
* Update 2017 copyright notices.gjoranv2021-10-0724-24/+24
|
* Add option to attach a context to refer.Henning Baldersheim2021-10-051-1/+1
| | | | Introduce a lightweight debug mode.
* Avoid use of deprecated Request.setServerRequest.Henning Baldersheim2021-10-041-14/+5
|
* - Add deprecation warning for methods only used in tests to enable using ↵Henning Baldersheim2021-10-011-0/+3
| | | | | | | final on members. - assign the reference at the end of the constructor to avoid possibility for exceptions thrown leaving the reference hidden in the dark. - Catch Throwable instead of RuntimException to avoid some exceptions to pass.
* Remove unused BootstrapDaemongjoranv2019-10-031-154/+0
|
* Format timestamp with 6 decimalsBjørn Christian Seime2019-04-012-39/+41
|
* JDK 11: Replace LogRecord.setMillis with setInstant.gjoranv2019-03-041-3/+2
| | | | | - Suppress deprecation warnings locally instead of globally in controller-server.
* Bootstrap FelixParams at runtime.gjoranv2019-01-211-1/+1
| | | | | - The set of system packages is not constant (nor is their order) between JVM invocations.
* Use a more robust method for retrieving system packages.gjoranv2018-09-271-2/+4
| | | | | | | | - Start the framework and retrieve properties from the system bundle. - The static 'org.osgi.framework.system.packages' property only returns org.osgi packages on Felix 6, and was based on a static list in felix/framework/src/main/resources/default (not good).
* Fix author tag for SimonBjørn Christian Seime2018-07-0524-24/+24
|
* Revert "Revert "Gjoranv/java9 prep 05""gjoranv2018-05-022-8/+11
|
* Revert "Gjoranv/java9 prep 05"gjoranv2018-05-022-11/+8
|
* Allow building with Java 9.gjoranv2018-04-302-8/+11
| | | | | - Must suppress deprecation warning for unit tests because LogRecord.setInstant() is new for Java 9.
* Introduce simple container watchdogBjørn Christian Seime2018-04-161-0/+73
| | | | | This watchdog uses information from the reference count framework in jdisc_core. Contains no use of System.gc() or WeakReference.
* Remove container watchdogBjørn Christian Seime2018-04-131-159/+0
| | | | | - Remove ActiveContainerDeactivationWatchdog - Move deconstruction enforcer to ActiveContainer
* Reduce logging of false positives in container watchdogBjørn Christian Seime2018-03-081-8/+5
| | | | | | Introduce a lower grace period only used by the gc check to ensure that deactivated containers have a chance of being collected before being reported as stale in the log and the metrics api.
* Only run gc when number of stale containers above thresholdBjørn Christian Seime2018-02-061-4/+8
| | | | | | Changes the deactivated container watchdog to only trigger gc when the number of deactivated containers passed grace period is above a threshold.
* Triggering finalization does not guarantee that phantom references are enqueuedBjørn Christian Seime2017-07-201-1/+2
|
* Merge pull request #2966 from yahoo/bjorncs/activecontainer-watchdogBjørn Christian Seime2017-07-171-0/+2
|\ | | | | Temporarily ignore test
| * Temporarily ignore testBjørn Christian Seime2017-07-171-0/+2
| |
* | Improve ActiveContainerDeactivationWatchdog unit testBjørn Christian Seime2017-07-171-7/+16
|/
* Ensure that phantom references are enqueued to reference queueBjørn Christian Seime2017-07-171-2/+1
|
* Update copyright headersJon Bratseth2017-06-1426-25/+26
|
* Revert "Update copyright headers"Jon Bratseth2017-06-1426-26/+25
|
* Update copyright headersJon Bratseth2017-06-1426-25/+26
|
* Revert "Copyright header"Jon Bratseth2017-06-1326-26/+25
|
* Copyright headerJon Bratseth2017-06-1326-25/+26
|
* Ignore test (#2719)Bjørn Christian Seime2017-06-121-0/+2
|
* Use mocked clock (#2718)Bjørn Christian Seime2017-06-121-2/+1
|
* Reintroduce enforced destruction of ActiveContainer (#2712)Bjørn Christian Seime2017-06-121-0/+54
| | | | Reintroduce enforced destruction of ActiveContainer - without using finalizer
* Remove finalizer in ActiveContainerBjørn Christian Seime2017-06-121-75/+0
| | | | | No instances of the log message has been detected the last month, which indicates that the finalizer is not necessary.
* Use a single thread to monitor all deactivated ActiveContainersBjørn Christian Seime2017-06-081-0/+91
| | | | | | Add new watchdog class to combine monitoring and reporting of stale ActiveContainer instances. Introduce a grace period to allow deactivated containers some time to die.
* Revert "Add unit test for ActiveContainerStatistics"Bjørn Christian Seime2017-05-301-78/+0
| | | | This reverts commit 3b2ab7feaa19498f876bb710e6ae41ebe6d4ad69.
* Add unit test for ActiveContainerStatisticsBjørn Christian Seime2017-05-301-0/+78
|
* Change timeout response code from 408 to 504Bjørn Christian Seime2017-05-101-11/+11
|
* fix or suppress warningsArne H Juul2017-04-206-19/+21
|
* PublishJon Bratseth2016-06-1526-0/+4369