CatgirlIntelligenceAgency/third-party/monkey-patch-gson
Viktor Lofgren dbe9235f3a (*) Upgrade to JDK21 with preview enabled.
... also move some common configuration into the root build.gradle-file.

Support for JDK21 in lombok is a bit sketchy at the moment, but it seems to work.  This upgrade is kind of important as the new index construction really benefits from Arena based lifecycle control over off-heap memory.
2023-09-24 10:38:59 +02:00
..
src/main/java/com/google/gson/stream Re-introduce monkey patched GSON to make converter run better. 2023-06-19 17:58:19 +02:00
build.gradle (*) Upgrade to JDK21 with preview enabled. 2023-09-24 10:38:59 +02:00
readme.md Re-introduce monkey patched GSON to make converter run better. 2023-06-19 17:58:19 +02:00

Monkey Patched GSON

Stanford OpenNLP - Apache-2.0

Rationale

GSON makes some assumptions that make it not work very well for deserializing extremely large JSON objects. This patch makes the code technically leak memory, but the way it's used makes this not much of a problem.

It should only be applied to the converter or possibly loader processes, not the services.