view patches/openjdk/8169448-pr3205-pch_failure.patch @ 3275:4034994bef71

PR3181: Support building without pre-compiled headers PR3205: Builds fails with pch disabled 2016-12-23 Andrew John Hughes <gnu.andrew@member.fsf.org> PR3205: Builds fails with pch disabled * Makefile.am: (ICEDTEA_PATCHES): Add new patch. * NEWS: Updated. * patches/openjdk/8169448-pr3205-pch_failure.patch: Backport patch from b41 to fix build failure when building without pre-compiled headers. 2016-10-26 Andrew John Hughes <gnu.andrew@member.fsf.org> PR3181: Support building without pre-compiled headers * INSTALL: Updated. * Makefile.am: (ICEDTEA_ENV): Set USE_PRECOMPILED_HEADER appropriately, according to whether DISABLE_PRECOMPILED_HEADERS is defined or not. * NEWS: Updated. * acinclude.m4: (IT_DISABLE_PRECOMPILED_HEADERS): New macro to provide the --disable-precompiled-headers option. * configure.ac: Invoke IT_DISABLE_PRECOMPILED_HEADERS.
author Andrew John Hughes <gnu.andrew@redhat.com>
date Fri, 23 Dec 2016 18:52:53 +0000
parents
children
line wrap: on
line source

# HG changeset patch
# User andrew
# Date 1478656400 0
#      Wed Nov 09 01:53:20 2016 +0000
# Node ID bbe3dc5410163bc7fb2dfbe5eb6969bbf71edc6d
# Parent  1943edc6f06aa1f026b4e6fa9ccc8b2d60243ca7
8169448: OpenJDK 6 fails to build without pre-compiled headers
Summary: psPromotionManager.hpp is missing an import for psOldGen
Reviewed-by: omajid

diff --git a/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp b/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp
--- openjdk/hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp
+++ openjdk/hotspot/src/share/vm/gc_implementation/parallelScavenge/psPromotionManager.hpp
@@ -25,6 +25,7 @@
 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_HPP
 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_PSPROMOTIONMANAGER_HPP
 
+#include "gc_implementation/parallelScavenge/psOldGen.hpp"
 #include "gc_implementation/parallelScavenge/psPromotionLAB.hpp"
 #include "memory/allocation.hpp"
 #include "utilities/taskqueue.hpp"