view patches/openjdk/8169448-pr3205-pch_failure.patch @ 3275:3b10a198e6d6

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.
author Andrew John Hughes <gnu.andrew@redhat.com>
date Sun, 01 Jan 2017 05:21:54 +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"