< prev index next >

src/os_cpu/linux_zero/vm/os_linux_zero.cpp

Print this page




  33 #include "interpreter/interpreter.hpp"
  34 #include "jvm_linux.h"
  35 #include "memory/allocation.inline.hpp"
  36 #include "nativeInst_zero.hpp"
  37 #include "os_share_linux.hpp"
  38 #include "prims/jniFastGetField.hpp"
  39 #include "prims/jvm.h"
  40 #include "prims/jvm_misc.hpp"
  41 #include "runtime/arguments.hpp"
  42 #include "runtime/extendedPC.hpp"
  43 #include "runtime/frame.inline.hpp"
  44 #include "runtime/interfaceSupport.hpp"
  45 #include "runtime/java.hpp"
  46 #include "runtime/javaCalls.hpp"
  47 #include "runtime/mutexLocker.hpp"
  48 #include "runtime/osThread.hpp"
  49 #include "runtime/sharedRuntime.hpp"
  50 #include "runtime/stubRoutines.hpp"
  51 #include "runtime/thread.inline.hpp"
  52 #include "runtime/timer.hpp"

  53 #include "utilities/events.hpp"
  54 #include "utilities/vmError.hpp"
  55 
  56 // See stubGenerator_zero.cpp
  57 #include <setjmp.h>
  58 extern sigjmp_buf* get_jmp_buf_for_continuation();
  59 
  60 address os::current_stack_pointer() {
  61   // return the address of the current function
  62   return (address)__builtin_frame_address(0);
  63 }
  64 
  65 frame os::get_sender_for_C_frame(frame* fr) {
  66   ShouldNotCallThis();
  67   return frame(NULL, NULL); // silence compile warning.
  68 }
  69 
  70 frame os::current_frame() {
  71   // The only thing that calls this is the stack printing code in
  72   // VMError::report:




  33 #include "interpreter/interpreter.hpp"
  34 #include "jvm_linux.h"
  35 #include "memory/allocation.inline.hpp"
  36 #include "nativeInst_zero.hpp"
  37 #include "os_share_linux.hpp"
  38 #include "prims/jniFastGetField.hpp"
  39 #include "prims/jvm.h"
  40 #include "prims/jvm_misc.hpp"
  41 #include "runtime/arguments.hpp"
  42 #include "runtime/extendedPC.hpp"
  43 #include "runtime/frame.inline.hpp"
  44 #include "runtime/interfaceSupport.hpp"
  45 #include "runtime/java.hpp"
  46 #include "runtime/javaCalls.hpp"
  47 #include "runtime/mutexLocker.hpp"
  48 #include "runtime/osThread.hpp"
  49 #include "runtime/sharedRuntime.hpp"
  50 #include "runtime/stubRoutines.hpp"
  51 #include "runtime/thread.inline.hpp"
  52 #include "runtime/timer.hpp"
  53 #include "utilities/align.hpp"
  54 #include "utilities/events.hpp"
  55 #include "utilities/vmError.hpp"
  56 
  57 // See stubGenerator_zero.cpp
  58 #include <setjmp.h>
  59 extern sigjmp_buf* get_jmp_buf_for_continuation();
  60 
  61 address os::current_stack_pointer() {
  62   // return the address of the current function
  63   return (address)__builtin_frame_address(0);
  64 }
  65 
  66 frame os::get_sender_for_C_frame(frame* fr) {
  67   ShouldNotCallThis();
  68   return frame(NULL, NULL); // silence compile warning.
  69 }
  70 
  71 frame os::current_frame() {
  72   // The only thing that calls this is the stack printing code in
  73   // VMError::report:


< prev index next >