DependencyTrack / dependency-track

Dependency-Track is an intelligent Component Analysis platform that allows organizations to identify and reduce risk in the software supply chain.
https://dependencytrack.org/
Apache License 2.0
2.43k stars 529 forks source link

Enable string de-duplication JVM option per default #3893

Closed nscuro closed 4 days ago

nscuro commented 4 days ago

Description

String de-duplication was originally only supported with G1GC, but was ported to ParallelGC in Java 18: https://tschatzl.github.io/2022/03/14/jdk18-g1-parallel-gc-changes.html

Running DT with -Xlog:stringdedup*=debug (originally -XX:+PrintStringDeduplicationStatistics) tells me that the JVM is able to de-dupe >60% of strings on average.

Addressed Issue

N/A

Additional Details

N/A

Checklist

codacy-production[bot] commented 4 days ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for a3918ba243cf7aa9b118a6a4ef4eb466bdf5c711[^1] :white_check_mark: (target: 70.00%)
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (a3918ba243cf7aa9b118a6a4ef4eb466bdf5c711) | Report Missing | Report Missing | Report Missing | | | Head commit (f8de879ddabdfbe2040b4d77c8c52f4f246fbff5) | 21903 | 16650 | 76.02% | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#3893) | 0 | 0 | **∅ (not applicable)** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more [^1]: Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.