comparison src/share/vm/precompiled.hpp @ 1983:c760f78e0a53

7003125: precompiled.hpp is included when precompiled headers are not used Summary: Added an ifndef DONT_USE_PRECOMPILED_HEADER to precompiled.hpp. Set up DONT_USE_PRECOMPILED_HEADER when compiling with Sun Studio or when the user specifies USE_PRECOMPILED_HEADER=0. Fixed broken include dependencies. Reviewed-by: coleenp, kvn
author stefank
date Wed, 01 Dec 2010 15:04:06 +0100
parents 828eafbd85cc
children 3582bf76420e
comparison
equal deleted inserted replaced
1982:6a2d73358ff7 1983:c760f78e0a53
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */ 23 */
24
25 // Precompiled headers are turned off for Sun Studion,
26 // or if the user passes USE_PRECOMPILED_HEADER=0 to the makefiles.
27 #ifndef DONT_USE_PRECOMPILED_HEADER
24 28
25 # include "asm/assembler.hpp" 29 # include "asm/assembler.hpp"
26 # include "asm/assembler.inline.hpp" 30 # include "asm/assembler.inline.hpp"
27 # include "asm/codeBuffer.hpp" 31 # include "asm/codeBuffer.hpp"
28 # include "asm/register.hpp" 32 # include "asm/register.hpp"
321 # include "gc_implementation/parallelScavenge/psVirtualspace.hpp" 325 # include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
322 # include "gc_implementation/parallelScavenge/psYoungGen.hpp" 326 # include "gc_implementation/parallelScavenge/psYoungGen.hpp"
323 # include "gc_implementation/shared/gcAdaptivePolicyCounters.hpp" 327 # include "gc_implementation/shared/gcAdaptivePolicyCounters.hpp"
324 # include "gc_implementation/shared/gcPolicyCounters.hpp" 328 # include "gc_implementation/shared/gcPolicyCounters.hpp"
325 #endif // SERIALGC 329 #endif // SERIALGC
330
331 #endif // !DONT_USE_PRECOMPILED_HEADER