Lexicographic array comparators

Andrew Haley aph at redhat.com
Fri Feb 20 16:01:03 UTC 2015


On 02/13/2015 02:58 PM, Paul Sandoz wrote:
> 
> On Feb 13, 2015, at 3:31 PM, Andrew Haley <aph at redhat.com> wrote:
> 
>> On 02/13/2015 01:56 PM, Paul Sandoz wrote:
>>> John suggested that a general array mis-match method could be achieved with carefully written Java code [1], and slightly hidden within that is the comment "FIXME: Add Unsafe.getLongMisaligned to avoid this cutout".
>>
>> Right, so we're definitely thinking along the same lines.  Maybe I
>> could do the HotSpot work for Unsafe.getUnalignedX.
> 
> Got for it! 
> 
> I would be happy to give it a test drive.

I have a patch that seems to work, but it's still rather raw.  It'll
need a lot of testing, I guess.  Do you want to try it now?

Andrew.





More information about the core-libs-dev mailing list