summaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/test/java/com/yahoo/jdisc/core
Commit message (Collapse)AuthorAgeFilesLines
* Update copyrightJon Bratseth2023-10-0924-23/+24
|
* Merge pull request #28370 from vespa-engine/renovate/major-guice.vespa.versionHenning Baldersheim2023-09-041-1/+1
|\ | | | | Update dependency com.google.inject:guice to v7
| * Use Guice 6.0Bjørn Christian Seime2023-09-041-1/+1
| | | | | | | | | | | | https://github.com/google/guice/wiki/Guice600 We cannot upgrade to 7.x as we export javax.inject from container. 6.x supports both the old javax.inject and the new jakarta.inject replacement.
* | Remove dead code and handle API changesBjørn Christian Seime2023-09-044-253/+82
|/
* Prepare exportPackages integration test for jdk21gjoranv2023-07-121-15/+21
|
* Improve integration test for exportPackagesgjoranv2023-07-071-36/+93
| | | | | - Parse packages properly - Create abstractions for package and set of packages
* Increase timeout resolution from 100ms to 10msHenning Baldersheim2023-05-021-1/+1
|
* If you start lagging behind, always prefer timing out as that will be good ↵Henning Baldersheim2023-05-021-21/+0
| | | | for all.
* Don't care about com.sun.jnaJon Bratseth2023-04-251-1/+4
|
* Build with jdk20Jon Bratseth2023-04-171-2/+10
|
* Revert "Improve user friendliness when class resolution fails."Arnstein Ressem2023-01-061-24/+0
|
* Extract record for BsnVersion for usage outside jdisc_core.gjoranv2023-01-051-0/+24
|
* Convert jdisc_core to junit5Bjørn Christian Seime2022-07-2825-332/+333
|
* Add test to properly verify all exported packages from jdisc_coregjoranv2022-07-202-45/+99
| | | | | | | | | | - The integration test generates exportPackages.properties in the same way as the maven execution, reading all the embedded bundles that we re-export packages for. - The failure message shows the difference between expected and actual packages, and a command to reset the expected set in case the change was intentional. - Remove the now obsolete ExportPackagesTestCase.
* Replace deprecated LogRecord.setThreadID -> setLongThreadIDgjoranv2022-06-081-2/+2
|
* Add simple integration test for ExportPackagesgjoranv2022-05-081-0/+42
| | | | - Add plugin management for failsafe-plugin
* Deprecate method leaking GuiceBjørn Christian Seime2022-02-081-4/+0
|
* 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.