src/hotspot/os/solaris/os_solaris.inline.hpp
branchdatagramsocketimpl-branch
changeset 58678 9cf78a70fa4f
parent 53244 9807daeb47c4
child 58679 9c3209ff7550
equal deleted inserted replaced
58677:13588c901957 58678:9cf78a70fa4f
    35 #include <sys/filio.h>
    35 #include <sys/filio.h>
    36 #include <unistd.h>
    36 #include <unistd.h>
    37 #include <netdb.h>
    37 #include <netdb.h>
    38 #include <setjmp.h>
    38 #include <setjmp.h>
    39 
    39 
    40 // File names are case-insensitive on windows only
       
    41 inline int os::file_name_strncmp(const char* s1, const char* s2, size_t num) {
       
    42   return strncmp(s1, s2, num);
       
    43 }
       
    44 
       
    45 inline bool os::uses_stack_guard_pages() {
    40 inline bool os::uses_stack_guard_pages() {
    46   return true;
    41   return true;
    47 }
    42 }
    48 
    43 
    49 inline bool os::must_commit_stack_guard_pages() {
    44 inline bool os::must_commit_stack_guard_pages() {
    63 // Bang the shadow pages if they need to be touched to be mapped.
    58 // Bang the shadow pages if they need to be touched to be mapped.
    64 inline void os::map_stack_shadow_pages(address sp) {
    59 inline void os::map_stack_shadow_pages(address sp) {
    65 }
    60 }
    66 
    61 
    67 inline void os::dll_unload(void *lib) { ::dlclose(lib); }
    62 inline void os::dll_unload(void *lib) { ::dlclose(lib); }
    68 
       
    69 inline const int os::default_file_open_flags() { return 0;}
       
    70 
    63 
    71 //////////////////////////////////////////////////////////////////////////////
    64 //////////////////////////////////////////////////////////////////////////////
    72 ////////////////////////////////////////////////////////////////////////////////
    65 ////////////////////////////////////////////////////////////////////////////////
    73 
    66 
    74 // macros for restartable system calls
    67 // macros for restartable system calls