JDK-8140608 : Update and add tests for Unsafe
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2015-10-27
  • Updated: 2016-08-26
  • Resolved: 2016-04-11
Description
Following on from JDK-8139891, tests in the hotspot repo should be reviewed
to determine what, if any, should continue to test sun.misc.Unsafe, while the
large majority ( consumers of Unsafe ) should be updated to use the internal
Unsafe.

Consideration should be given to adding new tests for Unsafe intrinsics.
Comments
JDK-8153737 updated, where appropriate, tests to use the internal Unsafe. rather than sun.misc.Unsafe.
11-04-2016

JDK-8143628 added additional tests, to hotspot/test/compiler/unsafe, for both the internal and sun.misc Unsafe classes. Given this new test coverage it should be ok to now just moved any test references from sun.misc to the internal Unsafe
14-01-2016