src/share/vm/memory/filemap.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,31 **** * or visit www.oracle.com if you need additional information or have any * questions. * */ ! # include "incls/_precompiled.incl" ! # include "incls/_filemap.cpp.incl" # include <sys/stat.h> # include <errno.h> #ifndef O_BINARY // if defined (Win32) use binary files. #define O_BINARY 0 // otherwise do nothing. --- 20,47 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ ! #include "precompiled.hpp" ! #include "classfile/classLoader.hpp" ! #include "classfile/symbolTable.hpp" ! #include "memory/filemap.hpp" ! #include "runtime/arguments.hpp" ! #include "runtime/java.hpp" ! #include "runtime/os.hpp" ! #include "utilities/defaultStream.hpp" ! #ifdef TARGET_OS_FAMILY_linux ! # include "hpi_linux.hpp" ! #endif ! #ifdef TARGET_OS_FAMILY_solaris ! # include "hpi_solaris.hpp" ! #endif ! #ifdef TARGET_OS_FAMILY_windows ! # include "hpi_windows.hpp" ! #endif ! # include <sys/stat.h> # include <errno.h> #ifndef O_BINARY // if defined (Win32) use binary files. #define O_BINARY 0 // otherwise do nothing.