-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b52
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082934 | emb-9 | Paul Sandoz | P4 | Resolved | Fixed | team |
The corresponding prefetch intrinsics (declared in vmSymbols.hpp) are as follows:
do_intrinsic(_prefetchRead, sun_misc_Unsafe, prefetchRead_name, prefetch_signature, F_RN) \
do_name( prefetchRead_name, "prefetchRead") \
do_intrinsic(_prefetchWrite, sun_misc_Unsafe, prefetchWrite_name, prefetch_signature, F_RN) \
do_name( prefetchWrite_name, "prefetchWrite") \
do_intrinsic(_prefetchReadStatic, sun_misc_Unsafe, prefetchReadStatic_name, prefetch_signature, F_SN) \
do_name( prefetchReadStatic_name, "prefetchReadStatic") \
do_intrinsic(_prefetchWriteStatic, sun_misc_Unsafe, prefetchWriteStatic_name, prefetch_signature, F_SN) \
do_name( prefetchWriteStatic_name, "prefetchWriteStatic") \
These and relevant code can be removed.
Note read/write prefetch support was implemented as an experiment to see if JDK library code could use it for performance advantages. However, the results of the experiment did not indicate this was worthwhile. As a consequence there are no corresponding prefetch native method declarations in sun.misc.Unsafe.
- backported by
-
JDK-8082934 Remove unused sun.misc.Unsafe prefetch intrinsic support
-
- Resolved
-
- relates to
-
JDK-8068975 Remove deprecated methods on sun.misc.Unsafe and clean up native implementation
-
- Resolved
-