815a9a0a0f
Drop 8210425 patches applied upstream. Still need to add AArch64 version in aarch64/shenandoah-jdk8u. Re-generate JDK-8141570 & JDK-8143245 patches due to 8210425 zeroshark.make changes.
56 lines
2.3 KiB
Diff
56 lines
2.3 KiB
Diff
# HG changeset patch
|
|
# User coleenp
|
|
# Date 1525713256 -3600
|
|
# Mon May 07 18:14:16 2018 +0100
|
|
# Node ID bcbc64dfb629c5f188bbf59b8f986ad95963ed60
|
|
# Parent 07a1135a327362f157955d470fad5df07cc35164
|
|
8141570, PR3548: Fix Zero interpreter build for --disable-precompiled-headers
|
|
Summary: change to include atomic.inline.hpp and allocation.inline.hpp only in .cpp files and some build fixes from Kim to build on ubuntu without devkits
|
|
Reviewed-by: kbarrett, sgehwolf, erikj
|
|
|
|
diff --git openjdk.orig/hotspot/make/linux/makefiles/zeroshark.make openjdk/hotspot/make/linux/makefiles/zeroshark.make
|
|
--- openjdk.orig/hotspot/make/linux/makefiles/zeroshark.make
|
|
+++ openjdk/hotspot/make/linux/makefiles/zeroshark.make
|
|
@@ -1,5 +1,5 @@
|
|
#
|
|
-# Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
|
|
+# Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
|
|
# Copyright 2007, 2008 Red Hat, Inc.
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
#
|
|
@@ -25,8 +25,15 @@
|
|
|
|
# Setup common to Zero (non-Shark) and Shark versions of VM
|
|
|
|
-# override this from the main file because some version of llvm do not like -Wundef
|
|
-WARNING_FLAGS = -Wpointer-arith -Wsign-compare -Wunused-function -Wunused-value
|
|
+# Some versions of llvm do not like -Wundef
|
|
+ifeq ($(USE_CLANG), true)
|
|
+ WARNING_FLAGS += -Wno-undef
|
|
+endif
|
|
+# Suppress some warning flags that are normally turned on for hotspot,
|
|
+# because some of the zero code has not been updated accordingly.
|
|
+WARNING_FLAGS += -Wno-return-type \
|
|
+ -Wno-format-nonliteral -Wno-format-security \
|
|
+ -Wno-maybe-uninitialized
|
|
|
|
# If FDLIBM_CFLAGS is non-empty it holds CFLAGS needed to be passed to
|
|
# the compiler so as to be able to produce optimized objects
|
|
@@ -48,5 +55,3 @@
|
|
ifeq ($(ARCH_DATA_MODEL), 64)
|
|
CFLAGS += -D_LP64=1
|
|
endif
|
|
-
|
|
-OPT_CFLAGS/compactingPermGenGen.o = -O1
|
|
diff --git openjdk.orig/hotspot/src/share/vm/runtime/java.cpp openjdk/hotspot/src/share/vm/runtime/java.cpp
|
|
--- openjdk.orig/hotspot/src/share/vm/runtime/java.cpp
|
|
+++ openjdk/hotspot/src/share/vm/runtime/java.cpp
|
|
@@ -45,6 +45,7 @@
|
|
#include "runtime/arguments.hpp"
|
|
#include "runtime/biasedLocking.hpp"
|
|
#include "runtime/compilationPolicy.hpp"
|
|
+#include "runtime/deoptimization.hpp"
|
|
#include "runtime/fprofiler.hpp"
|
|
#include "runtime/init.hpp"
|
|
#include "runtime/interfaceSupport.hpp"
|