elastic / elastic/elastic-otel-java

Reduce size of jvmti-access library

Open
#235 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
35
Forks
32
Avg merge
1d 8h
Merged PRs (30d)
30

Description

In case the jar-size of the JVMTI-access library becomes an issue, we could evaluate reducing it by stripping the debug symbols from the binaries. According to [this comment](https://bugs.openjdk.org/browse/JDK-8022405?focusedId=14215454&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14215454) the JVM builds on linux do the same.
* We would need to ensure that `hs_err_pid` JVM crash files still contain functions names for the stripped binaries
* We should ship the symbols in the `sources.jar` and ensure that they actually work (e.g. for analyzing core dumps)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.