lucene/gradle
Uwe Schindler 880d0ba1a8
Rewrite JavaScriptCompiler to use modern JVM features (Java 17) (#12873)
* Rewrite Javascript expression compiler to use hidden classes and MethodHandles for functions

* Use dynamic constants for MethodHandles

* Remove invokestatic code and handle everything through dynamic constants

* Rewrite code to patch stack trace (keep Expressions class unmodified)

* Improve generating of constant names

* Remove classloader test (no longer needed)

* Add benchmark

* use better exception in benchmark

* Add documentation, migration guide and a utility method to convert legacy function maps

* also ignore SecurityException here while checking compatibility (if it happens only an imprecise error message is thrown)

* Use Map.copyOf to not clone the map each time we compile an expression

* Add another test with same method multiple times

* Update ASM to 9.6 and set classfile version to Java 17

* Cleanup classloader permissions, unfortunately "createClassLoader" is still needed for Jacoco for God knows what
2023-12-05 11:53:57 +01:00
..
datasets LUCENE-9651 Update benchmark module docs (#759) 2022-03-23 14:51:28 -05:00
documentation Enable search for site javadocs (#12430) 2023-07-24 10:38:19 -04:00
generation Remove patching for doc blocks. (#12741) 2023-11-06 10:46:03 -05:00
hacks GITHUB#12655: javac options via -J only when the compiler is in forked mode. 2023-10-12 09:05:03 +02:00
ide Fix bug with set of strings since upgrade of Gradle -> explicit cast from GString to String 2022-11-10 17:18:30 +01:00
java Fix javac task inputs so that they include modular dependencies #12742 (#12745) 2023-11-02 08:49:41 +01:00
maven Added JMH micro-benchmarks submodule (#12663) 2023-10-12 20:25:34 +02:00
pylucene LUCENE-10347: add a helper task 'collectRuntimeJars' that assembles binary artifacts under each module's build 'runtimeJars' folder. (#576) 2022-01-03 21:11:35 +01:00
testing Rewrite JavaScriptCompiler to use modern JVM features (Java 17) (#12873) 2023-12-05 11:53:57 +01:00
validation Rewrite JavaScriptCompiler to use modern JVM features (Java 17) (#12873) 2023-12-05 11:53:57 +01:00
wrapper GITHUB#12655: Upgrade to Gradle 8.4 2023-10-11 16:11:53 -04:00
ge.gradle Build: build scans on ge.apache.org to benefit from deep build insights (#12293) 2023-10-24 12:32:18 -04:00
globals.gradle Implement source code regeneration for test-framework perl scripts (#11952) 2022-11-19 23:40:45 +01:00
help.gradle migrate all vectorbench methods to lucene (#12667) 2023-10-14 11:36:42 -04:00
template.gradle.properties Implement MMapDirectory with Java 21 Project Panama Preview API (#12294) 2023-06-12 21:07:04 +02:00