< prev index next >

src/os_cpu/linux_zero/vm/os_linux_zero.cpp

Print this page
@  rev 8650 : 8202600: [Zero] Undefined behaviour in src/os_cpu/linux_zero/vm/os_linux_zero.cpp
|  Reviewed-by: duke
~

@@ -406,10 +406,11 @@
 // Stubs for things that would be in linux_zero.s if it existed.
 // You probably want to disassemble these monkeys to check they're ok.
 
 extern "C" {
   int SpinPause() {
+    return 0; // Shouldn't matter.
   }
 
 
   void _Copy_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) {
     if (from > to) {
< prev index next >