summaryrefslogtreecommitdiffstats
path: root/vespajlib/src/main
Commit message (Collapse)AuthorAgeFilesLines
...
* | Revert "Merge pull request #24762 from vespa-engine/jonmv/memoize"jonmv2022-11-041-8/+0
| | | | | | | | | | This reverts commit 62f86b1196d6f7a616b3b69d701258ed35d00bf0, reversing changes made to 7eb6f8bcec2a2f13f368ebd115c9c8d2f559d95c.
* | 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-011-10/+19
|\ \ | | | | | | Jonmv/use classes as keys
| * | Apply suggestions from code reviewJon Marius Venstad2022-11-011-0/+4
| | |
| * | Remove weak-refsjonmv2022-10-261-6/+3
| | |
| * | Test caching negative results, and invoke callback for those toojonmv2022-10-261-1/+1
| | |
| * | 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.
* More input tests and better error messageJon Bratseth2022-10-194-8/+20
|
* - 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-021-0/+41
|
* Add 'model' config typeJon Bratseth2022-08-311-2/+2
|
* Merge pull request #23770 from vespa-engine/bratseth/embedder-syntax-5Jon Bratseth2022-08-261-286/+218
|\ | | | | Bratseth/embedder syntax 5
| * 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-111-0/+36
|
* use namespace unaware parser for bundle validator MERGEOK (#23585)Andreas Eriksen2022-08-051-2/+26
| | | | | * 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
|
* Move yolean code into vespajlib.gjoranv2022-07-1323-0/+1203
|
* 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-221-0/+172
|
* Merge pull request #23128 from vespa-engine/bratseth/default-short-form-harderJon Bratseth2022-06-161-2/+2
|\ | | | | Default to tensor short form more places
| * Default to tensor short form more placesJon Bratseth2022-06-161-2/+2
| |
* | Add forEach()Bjørn Christian Seime2022-06-161-0/+3
|/
* Add some comments, cleanupjonmv2022-06-142-2/+2
|
* Avoid SerializableHenning Baldersheim2022-06-091-13/+11
|
* Merge pull request #22996 from ↵Jon Bratseth2022-06-081-5/+9
|\ | | | | | | | | vespa-engine/lesters/short-tensor-format-as-default Lesters/short tensor format as default MERGEOK
| * Set short tensor format as defaultLester Solbakken2022-06-081-5/+9
| |