< prev index next >

src/share/vm/utilities/globalDefinitions.cpp

Print this page

        

@@ -354,10 +354,16 @@
     assert(result <= (size_t)max_uintx, "Integer overflow in lcm");
 
     return size_t(result);
 }
 
+void noreturn_function() {
+  while (true) {
+    os::naked_short_sleep(10);
+  }
+}
+
 #ifndef PRODUCT
 
 void GlobalDefinitions::test_globals() {
   intptr_t page_sizes[] = { os::vm_page_size(), 4096, 8192, 65536, 2*1024*1024 };
   const int num_page_sizes = sizeof(page_sizes) / sizeof(page_sizes[0]);
< prev index next >