opensearch-project / OpenSearch

🔎 Open source distributed and RESTful search engine.
https://opensearch.org/docs/latest/opensearch/index/
Apache License 2.0
9.84k stars 1.83k forks source link

[POC] [Security Manager Replacement] Native Java Agent (dynamic code rewriting, must be low overhead) #16633

Open reta opened 1 week ago

reta commented 1 week ago

Is your feature request related to a problem? Please describe

The SecurityManager is going to be disabled permanently in JDK-24 (see please https://openjdk.org/projects/jdk/24/), the prototype branch is https://github.com/reta/opensearch-agent

Describe the solution you'd like

Explore the the native Java Agent (dynamic code rewriting, must be low overhead)

Related component

Other

Describe alternatives you've considered

N/A

Additional context

See please https://github.com/opensearch-project/OpenSearch/issues/1687