35 #include "mutex_linux.inline.hpp" 36 #include "nativeInst_sparc.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/timer.hpp" 52 #include "thread_linux.inline.hpp" 53 #include "utilities/events.hpp" 54 #include "utilities/vmError.hpp" 55 #ifdef COMPILER1 56 #include "c1/c1_Runtime1.hpp" 57 #endif 58 #ifdef COMPILER2 59 #include "opto/runtime.hpp" 60 #endif 61 62 63 // Linux/Sparc has rather obscure naming of registers in sigcontext 64 // different between 32 and 64 bits 65 #ifdef _LP64 66 #define SIG_PC(x) ((x)->sigc_regs.tpc) 67 #define SIG_NPC(x) ((x)->sigc_regs.tnpc) 68 #define SIG_REGS(x) ((x)->sigc_regs) 69 #else 70 #define SIG_PC(x) ((x)->si_regs.pc) 71 #define SIG_NPC(x) ((x)->si_regs.npc) 72 #define SIG_REGS(x) ((x)->si_regs) 73 #endif 74 75 // those are to reference registers in sigcontext 76 enum { 77 CON_G0 = 0, 78 CON_G1, 79 CON_G2, 80 CON_G3, 81 CON_G4, | 35 #include "mutex_linux.inline.hpp" 36 #include "nativeInst_sparc.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/timer.hpp" 52 #include "thread_linux.inline.hpp" 53 #include "utilities/events.hpp" 54 #include "utilities/vmError.hpp" 55 56 // Linux/Sparc has rather obscure naming of registers in sigcontext 57 // different between 32 and 64 bits 58 #ifdef _LP64 59 #define SIG_PC(x) ((x)->sigc_regs.tpc) 60 #define SIG_NPC(x) ((x)->sigc_regs.tnpc) 61 #define SIG_REGS(x) ((x)->sigc_regs) 62 #else 63 #define SIG_PC(x) ((x)->si_regs.pc) 64 #define SIG_NPC(x) ((x)->si_regs.npc) 65 #define SIG_REGS(x) ((x)->si_regs) 66 #endif 67 68 // those are to reference registers in sigcontext 69 enum { 70 CON_G0 = 0, 71 CON_G1, 72 CON_G2, 73 CON_G3, 74 CON_G4, |