9367 Commits

Author SHA1 Message Date
Zoltan Majo
ecee7fc84b 8173151: Code heap corruption due to incorrect inclusion test
Change inclusion test to use CodeBlob::code_begin() for AOT methods and start of CodeBlob otherwise. Added regression test.

Reviewed-by: thartmann, dlong, kvn
2017-02-10 08:16:49 +01:00
Sangheon Kim
7b93ee904b 8173013: JVMTI tagged object access needs G1 pre-barrier
Add missing G1 pre-barrier at TagObjectCollector::do_entry

Reviewed-by: kbarrett, tschatzl
2017-02-09 19:08:32 -08:00
Jesper Wilhelmsson
4519090804 Merge 2017-02-09 23:35:22 +01:00
Alan Bateman
9db79d57c8 8173393: Module system implementation refresh (2/2017)
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Reviewed-by: lfoltan, acorn, mchung
2017-02-10 09:03:55 +00:00
Jesper Wilhelmsson
9f4f582c70 Merge 2017-02-09 23:15:52 +01:00
Lana Steuck
e02360463a Merge 2017-02-09 18:15:37 +00:00
Dmitry Chuyko
1acb306859 8166110: Inlining through MH invokers/linkers in unreachable code is unsafe
Reviewed-by: vlivanov
2017-02-09 19:00:48 +03:00
Jesper Wilhelmsson
3560e1733c Merge 2017-02-04 03:29:40 +01:00
Magnus Ihse Bursie
e729ca2dc5 8004842: Unify values of boolean make variables set in configure to true/false
Reviewed-by: erikj
2017-02-03 15:20:05 +01:00
Tom Rodriguez
632427880f 8173846: [AOT] Stubs hang onto intermediate compiler state forever
Stub shouldn't keep alive the graph

Reviewed-by: kvn
2017-02-02 16:57:01 -08:00
Mandy Chung
3c835ae983 8173608: Separate JDK management agent from java.management module
Reviewed-by: dfuchs, dholmes, erikj
2017-01-31 20:06:42 -08:00
David Holmes
fe4d1bb602 8173421: Obsolete and expired flags for JDK 10 need to be removed and related tests updated
Reviewed-by: lfoltan, mikael, dcubed
2017-01-31 19:26:50 -05:00
Tom Rodriguez
48341996cf 8173227: [JVMCI] HotSpotJVMCIMetaAccessContext.fromClass is inefficient
Reviewed-by: dnsimon
2017-01-30 17:29:48 -08:00
Jesper Wilhelmsson
710612ff65 Merge 2017-02-01 00:56:16 +01:00
Daniel D. Daugherty
2132715a30 8173693: disable post_class_unload() for non JavaThread initiators
Reviewed-by: sspitsyn, gthornbr
2017-01-31 14:33:36 -08:00
Brent Christian
113673d854 Merge 2017-01-31 20:04:54 +00:00
Jesper Wilhelmsson
1d6671c5cd Merge 2017-01-31 20:54:45 +01:00
Brent Christian
c38ccc4fb0 8156073: 2-slot LiveStackFrame locals (long and double) are incorrect
Reviewed-by: coleenp, mchung
2017-01-31 11:50:42 -08:00
Tobias Hartmann
ecea08b5c2 8173373: C1: NPE is thrown instead of LinkageError when accessing inaccessible field on NULL receiver
Deoptimize if receiver null check of unresolved field access fails to throw NoClassDefFoundError instead of NPE.

Reviewed-by: vlivanov
2017-01-31 18:42:45 +01:00
Vladimir Ivanov
95ff3ccdb4 8173338: C2: continuous CallSite relinkage eventually disables compilation for a method
Reviewed-by: jrose, dlong, kvn
2017-01-31 01:11:40 +03:00
Vladimir Ivanov
81e25c58fb 8173404: C2: wrong nmethod dependency can be recorded for CallSite.target
Reviewed-by: kvn
2017-01-30 16:04:22 +03:00
Vladimir Ivanov
cdae3f8fba 8158546: C1 compilation fails with "Constant field loads are folded during parsing"
Reviewed-by: kvn
2017-01-30 16:03:25 +03:00
Jini George
f02b7dfba7 8171084: heapdump/JMapHeapCore fails with java.lang.RuntimeException: Heap segment size overflow
Create a new heapdump segment and truncate huge arrays if required, to avoid overflow of the 32 bit value representing the size.

Reviewed-by: dholmes, dsamersoff
2017-01-30 13:48:14 +05:30
Andrew Haley
51e977ec79 Merge 2017-01-27 18:22:09 +00:00
Andrew Dinn
2b577bb1f6 8173474: AArch64: fix reported -Xss minimum
Reviewed-by: aph
2017-01-27 07:56:13 -05:00
Thomas Schatzl
6fb4d7356b 8173229: Wrong assert whether all remembered set entries have been iterated over in presence of coarsenings
Remove asserts as they are almost useless.

Reviewed-by: mgerdin, ehelin
2017-01-27 13:12:53 +01:00
Andrew Haley
30b20a3edb 8173472: AArch64: C1 comparisons with null only use 32-bit instructions
Reviewed-by: roland
2017-01-27 09:50:15 +00:00
Calvin Cheung
3520dcfe62 8173163: searching for a versioned entry in a multi-release jar in hotspot is inconsistent with java code
Use the highest versioned entry if the specified version is higher than the current jdk version

Reviewed-by: iklam, sspitsyn, jiangli
2017-01-26 10:17:06 -08:00
Andrew Dinn
540ec375c3 8173339: AArch64: Fix minimum stack size computations
Reviewed-by: aph
2017-01-26 11:47:39 -05:00
Doug Simon
8c46b8e160 8173278: [JVMCI] query_update_method_data might write outside _trap_hist array
Reviewed-by: kvn
2017-01-26 05:53:14 -08:00
Yang Zhang
9eb2a991de 8172881: AArch64: assertion failure: the int pressure is incorrect
Change the dst register type of get_and_setI/L/N/P from any register to non-special register.

Reviewed-by: aph
2017-01-22 16:33:54 +08:00
Rickard Bäckman
50d7d4fa1e Merge 2017-01-26 08:35:17 +01:00
Gilles Duboscq
42f4fbc243 8167519: [AOT] Failed compilation: java.math.MutableBigInteger.divide3n2n
Reviewed-by: never, davleopo
2017-01-24 13:40:46 +01:00
Tom Rodriguez
e56234d68b 8173309: jvmtiDeferredLocalVariableSet may update the wrong frame
Reviewed-by: kvn
2017-01-25 19:18:43 -08:00
Roland Westrelin
9b352ebabe 8173147: [ctw] fails during compilation of sun.security.krb5.internal.crypto.RsaMd5DesCksumType::calculateKeyedChecksum with " graph should be schedulable"
Loads generated at uncommon trap from eliminated arraycopy have incorrect memory state

Reviewed-by: thartmann
2017-01-24 09:40:05 +01:00
Tobias Hartmann
a84b66b517 8172850: Anti-dependency on membar causes crash in register allocator due to invalid instruction scheduling
Regression test and additional asserts. The problem is fixed by 8087341.

Reviewed-by: kvn
2017-01-25 07:05:38 +01:00
Tobias Hartmann
0917fde85d 8173195: [BACKOUT] 8087341: C2 doesn't optimize redundant memory operations with G1
Backing out 8087341 due to 8172850. Will be re-implemented with 8173196.

Reviewed-by: kvn
2017-01-25 07:03:26 +01:00
Vladimir Kozlov
94db4c91c3 8173158: [AOT] fix typo in jaotc --help output
Reviewed-by: rbackman
2017-01-24 17:19:01 -08:00
Jesper Wilhelmsson
9d799dc14f Merge 2017-01-24 00:30:28 +01:00
Doug Simon
4684856924 Merge 2017-01-23 23:01:32 +00:00
Igor Veresov
5cac50c1a4 8173054: [AOT] Avoid zero-shift for compressed oops
AOT compiler should be pessimistic about heap size

Reviewed-by: kvn
2017-01-23 23:49:16 +03:00
Zoltan Majo
f3fcb0ec76 8172844: Assert fails in deoptimization due to original PC at the end of code section
Change assert to accept end of code section as well.

Reviewed-by: rbackman, kvn, dlong
2017-01-23 09:53:27 +01:00
Jamsheed Mohammed C M
165af4bdae 8173037: V [jvm.dll+0x2343fc] GraphBuilder::args_list_for_profiling+0x8c
Disabled WB Compilaton at unsupported levels.

Reviewed-by: kvn
2017-01-22 22:18:49 -08:00
Doug Simon
1cd0ad5c34 8172733: [JVMCI] add ResolvedJavaMethod.hasNeverInlineDirective
Reviewed-by: kvn
2017-01-22 21:40:59 +01:00
Harold Seigel
c199f4eac2 8171971: Fix timing bug in JVM management of package export lists
Reduce the number of fields that maintain export state and use Module_lock to access these fields

Reviewed-by: acorn, sspitsyn, lfoltan
2017-01-20 16:09:56 -05:00
Daniel D. Daugherty
3452ceaa66 8173081: VM no longer prints "Picked up _JAVA_OPTONS: " message
Restore lost line from JDK-8061999.

Reviewed-by: hseigel, mchung, dholmes
2017-01-19 18:16:20 -08:00
Claes Redestad
984dc33474 8171855: Move package name transformations during module bootstrap into native code
Reviewed-by: alanb, acorn, lfoltan, mchung, plevart, hseigel, sspitsyn
2017-01-19 11:49:30 +01:00
Rickard Bäckman
53e9b56d9e Merge 2017-01-19 11:10:33 +01:00
Thomas Stuefe
3c619c2451 8172964: [aix] AIX VM should not handle SIGDANGER
Reviewed-by: simonis, clanger
2017-01-19 10:30:37 +01:00
Andreas Woess
2259b96a70 8172751: OSR compilation at unreachable bci causes C1 crash
Bailout if OSR entry is unreachable.

Reviewed-by: thartmann
2017-01-19 08:10:11 +01:00