< prev index next >

src/hotspot/share/utilities/macros.hpp

Print this page




 623 #define OS_CPU_HEADER(basename)        XSTR(OS_CPU_HEADER_STEM(basename).hpp)
 624 #define OS_CPU_HEADER_INLINE(basename) XSTR(OS_CPU_HEADER_STEM(basename).inline.hpp)
 625 // basename<compiler>.hpp / basename<compiler>.inline.hpp
 626 #define COMPILER_HEADER(basename)        XSTR(COMPILER_HEADER_STEM(basename).hpp)
 627 #define COMPILER_HEADER_INLINE(basename) XSTR(COMPILER_HEADER_STEM(basename).inline.hpp)
 628 
 629 #if INCLUDE_CDS && INCLUDE_G1GC && defined(_LP64) && !defined(_WINDOWS)
 630 #define INCLUDE_CDS_JAVA_HEAP 1
 631 #define CDS_JAVA_HEAP_ONLY(x) x
 632 #define NOT_CDS_JAVA_HEAP(x)
 633 #define NOT_CDS_JAVA_HEAP_RETURN
 634 #define NOT_CDS_JAVA_HEAP_RETURN_(code)
 635 #else
 636 #define INCLUDE_CDS_JAVA_HEAP 0
 637 #define CDS_JAVA_HEAP_ONLY(x)
 638 #define NOT_CDS_JAVA_HEAP(x) x
 639 #define NOT_CDS_JAVA_HEAP_RETURN        {}
 640 #define NOT_CDS_JAVA_HEAP_RETURN_(code) { return code; }
 641 #endif
 642 






 643 #endif // SHARE_UTILITIES_MACROS_HPP


 623 #define OS_CPU_HEADER(basename)        XSTR(OS_CPU_HEADER_STEM(basename).hpp)
 624 #define OS_CPU_HEADER_INLINE(basename) XSTR(OS_CPU_HEADER_STEM(basename).inline.hpp)
 625 // basename<compiler>.hpp / basename<compiler>.inline.hpp
 626 #define COMPILER_HEADER(basename)        XSTR(COMPILER_HEADER_STEM(basename).hpp)
 627 #define COMPILER_HEADER_INLINE(basename) XSTR(COMPILER_HEADER_STEM(basename).inline.hpp)
 628 
 629 #if INCLUDE_CDS && INCLUDE_G1GC && defined(_LP64) && !defined(_WINDOWS)
 630 #define INCLUDE_CDS_JAVA_HEAP 1
 631 #define CDS_JAVA_HEAP_ONLY(x) x
 632 #define NOT_CDS_JAVA_HEAP(x)
 633 #define NOT_CDS_JAVA_HEAP_RETURN
 634 #define NOT_CDS_JAVA_HEAP_RETURN_(code)
 635 #else
 636 #define INCLUDE_CDS_JAVA_HEAP 0
 637 #define CDS_JAVA_HEAP_ONLY(x)
 638 #define NOT_CDS_JAVA_HEAP(x) x
 639 #define NOT_CDS_JAVA_HEAP_RETURN        {}
 640 #define NOT_CDS_JAVA_HEAP_RETURN_(code) { return code; }
 641 #endif
 642 
 643 // THIS_FILE will always be the relative path to the source file from the
 644 // workspace root. FILE_MACRO_OFFSET is calculated in configure to be the
 645 // absolute path length of the workspace root dir (or 0 if
 646 // -fmacro-prefix-map is used to limit the length of __FILE__).
 647 #define THIS_FILE (__FILE__ + FILE_MACRO_OFFSET)
 648 
 649 #endif // SHARE_UTILITIES_MACROS_HPP
< prev index next >