summaryrefslogtreecommitdiffstats
path: root/vespajlib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #24725 from ↵jonmv2022-11-042-55/+2
| | | | | | | vespa-engine/jonmv/application-package-streams" This reverts commit c7a0effde1c205d8790e5d989437aefd724bc70f, reversing changes made to 7bcb7768d75c1eef5bc70a2aa84c363f9b7ec643.
* Revert "Merge pull request #24762 from vespa-engine/jonmv/memoize"jonmv2022-11-042-9/+0
| | | | | This reverts commit 62f86b1196d6f7a616b3b69d701258ed35d00bf0, reversing changes made to 7eb6f8bcec2a2f13f368ebd115c9c8d2f559d95c.
* Update ABI specValerij Fredriksen2022-11-041-0/+1
|
* Memoize deployment datajonmv2022-11-041-0/+8
|
* Use ApplicationPackgeStream for deploymentsjonmv2022-11-031-0/+53
|
* Non-functional changesjonmv2022-11-031-2/+2
|
* Merge pull request #24586 from vespa-engine/jonmv/use-classes-as-keysJon Marius Venstad2022-11-013-10/+102
|\ | | | | Jonmv/use classes as keys
| * Apply suggestions from code reviewJon Marius Venstad2022-11-012-1/+5
| |
| * Remove weak-refsjonmv2022-10-261-6/+3
| |
| * Test caching negative results, and invoke callback for those toojonmv2022-10-262-2/+13
| |
| * Add unit test for method cachejonmv2022-10-262-0/+72
| |
| * Cache negative results as welljonmv2022-10-261-8/+6
| |
| * Use weakly wrapped composite valuesjonmv2022-10-261-9/+15
| |
| * Clear entire cache on class mismatchjonmv2022-10-251-1/+1
| |
| * Use string keys, but clear entries when new class has same namejonmv2022-10-251-3/+7
| |
| * Use actual class, not just its name, as method cache keyjonmv2022-10-251-3/+3
| |
* | Merge pull request #24615 from vespa-engine/hakonhall/coresapihandlerHåkon Hallingstad2022-10-272-54/+36
|\ \ | |/ |/| Add some String utils in SlimeUtils
| * Add JSON normalize method to test helperHåkon Hallingstad2022-10-271-4/+0
| |
| * Remove throws clauseHåkon Hallingstad2022-10-271-1/+1
| |
| * Add some String utils in SlimeUtilsHåkon Hallingstad2022-10-272-54/+40
| |
* | Add a hook for tracking inserts into the method cache and log whenever clone ↵Henning Baldersheim2022-10-251-0/+7
| | | | | | | | methods are added.
* | Update ABI spec format, and update all specsjonmv2022-10-251-1230/+1230
|/
* More input tests and better error messageJon Bratseth2022-10-196-13/+32
|
* - Unify on the faster JsonRender. The default Value.toString has a very high ↵Henning Baldersheim2022-10-182-14/+14
| | | | initial cost as it is intended for large json structures.
* - Use a common scratchpad for serializing the different parts of the query.Henning Baldersheim2022-10-121-2/+2
| | | | | | - Use a threadlocal for the scratchpad. This avoids costly resizing, or initialiing too large buffer for every query. Using a thread local is fine now that we limit the number of search threads to a reasonable number = #cores * 2.
* Reuse scratch buffer to avoid allocating and clearing a new buffer for ↵Henning Baldersheim2022-10-121-10/+8
| | | | serializing every tensor.
* - Presize array to its max size.Henning Baldersheim2022-10-121-1/+5
| | | | | - Return the GrowableByteBuffer from TypedBinaryFormat instead of a copy of the buffer. Then buffer is copied only once instead of twice.
* Prefer ArrayList over LinkedList as it is normally faster.Henning Baldersheim2022-10-121-1/+0
|
* Correctly propagate argument in UncheckedInterruptedExceptionjonmv2022-10-101-1/+1
|
* Return X-Vespa-Ignored-Fields if fields were ignoredJon Bratseth2022-10-061-2/+2
|
* Simplify and unify the use of Timers.Henning Baldersheim2022-09-143-15/+30
|
* Factor out timeout and coverage handling to make the ↵Henning Baldersheim2022-09-141-0/+15
| | | | InterleavedSearchInvoker easier to understand and modify.
* Use Java 17 constructsJon Bratseth2022-09-082-3/+2
|
* allow simple hex format for dense tensors of known typeArne Juul2022-09-022-0/+86
|
* Add 'model' config typeJon Bratseth2022-08-311-2/+2
|
* Merge pull request #23770 from vespa-engine/bratseth/embedder-syntax-5Jon Bratseth2022-08-262-286/+219
|\ | | | | Bratseth/embedder syntax 5
| * Update ABI specJon Bratseth2022-08-241-0/+1
| |
| * CleanupJon Bratseth2022-08-241-280/+215
| |
| * Test model id lookupJon Bratseth2022-08-241-6/+3
| |
* | If you get a ClassCastException when doing clone by reflection it might be ↵Henning Baldersheim2022-08-252-2/+23
|/ | | | | | | that you are using a staale method reference that has been replaced by new code from a new/reloaded bundle. If so we clear the method cache and gives it a new try.
* Path validationMorten Tokle2022-08-112-0/+71
|
* use namespace unaware parser for bundle validator MERGEOK (#23585)Andreas Eriksen2022-08-052-2/+28
| | | | | * use namespace unaware parser for bundle validator * update abi spec
* Add helper to get all threads in JVMBjørn Christian Seime2022-07-261-0/+30
|
* Remove all dependencies to yoleangjoranv2022-07-131-6/+0
|
* Move yolean code into vespajlib.gjoranv2022-07-1331-0/+2237
|
* Disable external entity processingMartin Polden2022-07-011-1/+6
|
* Disallow xincludeMartin Polden2022-07-011-12/+13
|
* SimplifyMartin Polden2022-06-281-7/+6
|
* Basic INI file parserMartin Polden2022-06-222-0/+273
|
* Merge pull request #23128 from vespa-engine/bratseth/default-short-form-harderJon Bratseth2022-06-161-2/+2
|\ | | | | Default to tensor short form more places