8048241: Introduce umbrella header os.inline.hpp and clean up includes

Reviewed-by: coleenp, dholmes, lfoltan
This commit is contained in:
Goetz Lindenmaier 2014-06-26 16:05:15 +02:00
parent a3765464cb
commit f2051ed6fa
67 changed files with 141 additions and 528 deletions

View file

@ -25,8 +25,6 @@
#ifndef OS_LINUX_VM_OS_LINUX_INLINE_HPP
#define OS_LINUX_VM_OS_LINUX_INLINE_HPP
#include "runtime/atomic.inline.hpp"
#include "runtime/orderAccess.inline.hpp"
#include "runtime/os.hpp"
// System includes
@ -40,18 +38,6 @@ inline void* os::thread_local_storage_at(int index) {
return pthread_getspecific((pthread_key_t)index);
}
inline const char* os::file_separator() {
return "/";
}
inline const char* os::line_separator() {
return "\n";
}
inline const char* os::path_separator() {
return ":";
}
// File names are case-sensitive on windows only
inline int os::file_name_strcmp(const char* s1, const char* s2) {
return strcmp(s1, s2);