Mercurial > hg > graal-jvmci-8
comparison src/os_cpu/linux_zero/vm/os_linux_zero.cpp @ 1729:13b87063b4d8
6977640: Zero and Shark fixes
Summary: A number of fixes for Zero and Shark.
Reviewed-by: twisti
Contributed-by: Gary Benson <gbenson@redhat.com>
author | twisti |
---|---|
date | Wed, 18 Aug 2010 01:22:16 -0700 |
parents | c18cbe5936b8 |
children | b675ff1ca7a3 |
comparison
equal
deleted
inserted
replaced
1728:a62d332029cf | 1729:13b87063b4d8 |
---|---|
433 } | 433 } |
434 | 434 |
435 void _Copy_arrayof_conjoint_bytes(HeapWord* from, | 435 void _Copy_arrayof_conjoint_bytes(HeapWord* from, |
436 HeapWord* to, | 436 HeapWord* to, |
437 size_t count) { | 437 size_t count) { |
438 ShouldNotCallThis(); | 438 memmove(to, from, count); |
439 } | 439 } |
440 void _Copy_arrayof_conjoint_jshorts(HeapWord* from, | 440 void _Copy_arrayof_conjoint_jshorts(HeapWord* from, |
441 HeapWord* to, | 441 HeapWord* to, |
442 size_t count) { | 442 size_t count) { |
443 ShouldNotCallThis(); | 443 memmove(to, from, count * 2); |
444 } | 444 } |
445 void _Copy_arrayof_conjoint_jints(HeapWord* from, | 445 void _Copy_arrayof_conjoint_jints(HeapWord* from, |
446 HeapWord* to, | 446 HeapWord* to, |
447 size_t count) { | 447 size_t count) { |
448 ShouldNotCallThis(); | 448 memmove(to, from, count * 4); |
449 } | 449 } |
450 void _Copy_arrayof_conjoint_jlongs(HeapWord* from, | 450 void _Copy_arrayof_conjoint_jlongs(HeapWord* from, |
451 HeapWord* to, | 451 HeapWord* to, |
452 size_t count) { | 452 size_t count) { |
453 ShouldNotCallThis(); | 453 memmove(to, from, count * 8); |
454 } | 454 } |
455 }; | 455 }; |
456 | 456 |
457 ///////////////////////////////////////////////////////////////////////////// | 457 ///////////////////////////////////////////////////////////////////////////// |
458 // Implementations of atomic operations not supported by processors. | 458 // Implementations of atomic operations not supported by processors. |