Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark 4.5.0 #110

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ Adding a requirement of a major version of a dependency is breaking a contract.
Dropping a requirement of a major version of a dependency is a new contract.

## [Unreleased]
[Unreleased]: https://github.com/atlassian/report/compare/release-4.4.0...master
[Unreleased]: https://github.com/atlassian/report/compare/release-4.5.0...master

## [4.5.0] - 2024-07-01
[4.5.0]: https://github.com/atlassian/report/compare/release-4.4.0...release-4.5.0

### Added
- Add `MutableJvmSymbol`, `JfrFilter.Builder.symbolModifier` and `MultiJfrFilter.Builder.symbolModifier`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ package com.atlassian.performance.tools.report.api.jfr
import java.nio.ByteBuffer
import java.util.function.Consumer

/**
* @since 4.5.0
*/
class DynamicProxyNormalization : Consumer<MutableJvmSymbol> {

private val proxyClassName = Regex("\\\$Proxy[0-9]")
Expand All @@ -16,5 +19,3 @@ class DynamicProxyNormalization : Consumer<MutableJvmSymbol> {
}
}
}


Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class JfrFilter private constructor(
return this
}

/**
* @since 4.5.0
*/
fun symbolModifier(symbolModifier: Consumer<MutableJvmSymbol>) = apply {
this.symbolModifier = symbolModifier
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ class MultiJfrFilter private constructor(
return this
}

/**
* @since 4.5.0
*/
fun symbolModifier(symbolModifier: Consumer<MutableJvmSymbol>) = apply { this.symbolModifier = symbolModifier }

fun build(): MultiJfrFilter {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package com.atlassian.performance.tools.report.api.jfr
* - native function names, e.g. `AddNode::Ideal`
*
* To optimize JFR filtering, the byte array is not defensively copied.
* @since 4.5.0
*/
class MutableJvmSymbol(
/**
Expand Down
Loading