Make sun.misc.Unsafe implementation ready for OpenJDK class library

Description

We should implement all sun.misc.Unsafe methods that OpenJDK requires. Tha attached patch by Da Feng is part of his OpenJDK patch set and adds more method implementations.

When committing the patch, we should regroup the methods and make sure that the formatting is consistent.

As of now, the memory copies and memory sets also use int while OpenJDK expects long. We should fix this.

Environment

All

Status

Assignee

Unassigned

Reporter

Erik Brangs

Labels

None

Fix versions

Affects versions

Priority

Medium
Configure