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

Bump PerfMark Min JDK to 8 #197

Open
carl-mastrangelo opened this issue Feb 21, 2023 · 0 comments
Open

Bump PerfMark Min JDK to 8 #197

carl-mastrangelo opened this issue Feb 21, 2023 · 0 comments
Labels
Version 1.0 Changes For the Next Version

Comments

@carl-mastrangelo
Copy link
Member

carl-mastrangelo commented Feb 21, 2023

There have been several things that I'd like to try out with PerfMark, that have have up till now been unavailable due to targetting JDK 6.

  • (JDK7) TaskCloseable should really extend AutoCloseable, not Closeable.
  • (JDK8) StringFunction supplier should extend Function, or better yet be removed
  • (JDK7) Working around Project Loom Thread and Thread local changes would be easier if ConcurrentLinkedDeque was available for ThreadLocal pooling.
  • (JDK7) Numerous things that would otherwise be too slow with reflection would be faster if MethodHandles were generally available.
  • JDK7 No access to ThreadLocalRandom (Android API level 21). Nice to do occasional cleanup work but not too often. Looks like it can be desugared.
  • JDK8 ThreadLocal.withInitial() and java.util.function.Supplier. Nice to have. Would have been nice to add the static method to subclasses of ThreadLocal to hide the parent static method.

I'll add more over time, but these are my wish list.

@carl-mastrangelo carl-mastrangelo added the Version 1.0 Changes For the Next Version label Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Version 1.0 Changes For the Next Version
Projects
None yet
Development

No branches or pull requests

1 participant