During JDK-8199868 code review:
Ian Rogers wrote:
ReJDK-8199868 - should pinning be limited to just critical APIs? The non-critical variants could also pin to avoid copies.
I see this as related toJDK-8199919. It'd be nice to just move the critical APIs to use the same logic as the non-critical APIs, then pinning just becomes a performance optimization to avoid copying. Re JDK-8199919's comment that there is no deprecation mechanism, compilers like GCC allow function attributes that warn when a deprecated function is used.
Thanks,
Ian
http://mail.openjdk.java.net/pipermail/hotspot-dev/2018-May/032030.html
Ian Rogers wrote:
Re
I see this as related to
Thanks,
Ian
http://mail.openjdk.java.net/pipermail/hotspot-dev/2018-May/032030.html
- relates to
-
JDK-8199868 Support JNI critical functions in object pinning API
-
- Resolved
-
-
JDK-8199919 Deprecate JNI critical APIs
-
- Closed
-