Skip to content

Simplify Muzzle side-classes to make them easier to unload...#3854

Merged
mcculls merged 1 commit into
masterfrom
mcculls/simplifyMuzzleSideClasses
Sep 19, 2022
Merged

Simplify Muzzle side-classes to make them easier to unload...#3854
mcculls merged 1 commit into
masterfrom
mcculls/simplifyMuzzleSideClasses

Conversation

@mcculls
Copy link
Copy Markdown
Contributor

@mcculls mcculls commented Sep 19, 2022

...by making them extend ReferenceMatcher instead of embedding it as a field. This means the Instrumenter class can just cast the loaded Muzzle class and doesn't have to be transformed to add the right bytecode to access the field (as that then pins a reference to the Muzzle class in the Instrumenters constant pool.

@mcculls mcculls added tag: performance Performance related changes type: refactoring labels Sep 19, 2022
@mcculls mcculls requested a review from a team as a code owner September 19, 2022 13:44
Copy link
Copy Markdown
Contributor

@bantonsson bantonsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@mcculls mcculls force-pushed the mcculls/simplifyMuzzleSideClasses branch 2 times, most recently from 44e032e to a6a3fe2 Compare September 19, 2022 14:47
@mcculls mcculls force-pushed the mcculls/simplifyMuzzleSideClasses branch from ab704b0 to cacda6c Compare September 19, 2022 17:20
@mcculls mcculls merged commit 1f73c23 into master Sep 19, 2022
@mcculls mcculls deleted the mcculls/simplifyMuzzleSideClasses branch September 19, 2022 18:22
@github-actions github-actions Bot added this to the 0.109.0 milestone Sep 19, 2022
nayeem-kamal pushed a commit that referenced this pull request Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tag: performance Performance related changes type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants