RFR: 8295146: Clean up native code with newer C/C++ language features

2022-11-12 Thread Julian Waters
After [JDK-8292008](https://bugs.openjdk.org/browse/JDK-8292008) and [JDK-8247283](https://bugs.openjdk.org/browse/JDK-8247283), some C and C++ code across the JDK can be replaced and simplified with cleaner language features that were previously not available due to required compatibility with

Re: RFR: 8296875: Generational ZGC: Refactor loom code

2022-11-12 Thread Fei Yang
On Fri, 11 Nov 2022 16:16:18 GMT, Erik Ă–sterlund wrote: > The current loom code makes some assumptions about GC that will not work with > generational ZGC. We should make this code more GC agnostic, and provide a > better interface for talking to the GC. > > In particular, > 1) All GCs have a