Skip to content

Commit

Permalink
Mark 4.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dagguh committed Jul 1, 2024
1 parent a391e19 commit 0c74c21
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
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

0 comments on commit 0c74c21

Please sign in to comment.