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

use internal index for EventType.byEventNumber instead of always crea… #102

Merged

Conversation

janickr
Copy link

@janickr janickr commented Feb 9, 2023

…ting an array and iterating

This is a PR that avoids the EventType array allocation that I saw while creating the allocation profiles in #98

@osheroff
Copy link
Owner

seems good. can you confirm this doesn't affect the minimum jdk version? I always get a little confused around when you can use streams & lambdas and such, and this library is depended on by some pretty ooooollldd installs (unfortunately).

@janickr
Copy link
Author

janickr commented Feb 12, 2023

What is the minimum jdk version? I assumed jdk 8 because of the 8 in the compiler plugin of the pom.xml file.

I can run ./mvnw clean integration-test using jdk 8.

I also don't mind changing the Stream operations with a simple loop if you prefer that.

@osheroff
Copy link
Owner

jdk 8 is fine.

@osheroff osheroff merged commit 2647f5a into osheroff:master Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants