Commit Graph

12541 Commits

Author SHA1 Message Date
Doug Simon
896a819c2b 8167180: [JVMCI] Exported elements referring to inaccessible types in jdk.vm.ci
Reviewed-by: mchung, twisti, alanb
2016-10-11 00:08:20 +02:00
Harold Seigel
63e0cc39e9 8166364: fatal error: acquiring lock DirtyCardQ_CBL_mon/16 out of order with lock Module_lock/6 -- possible deadlock
Set the mirror's module field outside of the module lock.

Reviewed-by: dsamersoff, dholmes, rehn
2016-10-10 08:34:32 -04:00
Doug Simon
b7b3fb4266 8167353: [JVMCI] JVMCI re-initialization check is in the wrong location
Reviewed-by: kvn, twisti
2016-10-07 15:40:34 -07:00
Roland Westrelin
b49746775c 8169497: Aarch64: Improve internal array handling
Reviewed-by: aph
2016-10-07 15:59:38 +02:00
Dmitry Samersoff
ab06fed6eb Merge 2016-11-09 08:45:51 +00:00
Sharath Ballal
9afb326e44 7107014: sun.jvm.hotspot.HSDB.FindObjectByTypeCleanupThunk.showConsole.attach infinite loop
Avoid infinite loop in sun.jvm.hotspot.HSDB.FindObjectByTypeCleanupThunk.showConsole.attach

Reviewed-by: rehn, dsamersoff
2016-11-09 13:38:52 +05:30
Jini George
3eedbd0f73 8169344: Potential open file descriptor in exists() of hotspot/agent/src/os/bsd/ps_core.c
Use access() instead of open() to check for the existence of a file

Reviewed-by: dsamersoff, dholmes
2016-11-09 10:56:32 +03:00
Jini George
2c79bd5892 7107018: sun.jvm.hotspot.utilities.soql.JSJavaHeap.forEachClass incorrect test
Correction for incorrect double checking of ‘k’ not being null.

Reviewed-by: dsamersoff, rehn
2016-11-09 09:30:27 +03:00
Doug Simon
1bab9425ed 8169331: [JVMCI] incomplete API to MethodParameters attribute
Reviewed-by: kvn
2016-11-07 17:02:46 +01:00
Erik Helin
db9932fb37 8168904: Initialize and reset G1 phase times to zero
Reviewed-by: sjohanss, jprovino
2016-10-28 15:50:09 +02:00
Nils Eliasson
902650f058 8160543: C1: Crash in java.lang.String.indexOf in some java.sql tests
C1 must use unverified entry point for unloaded methods.

Reviewed-by: vlivanov, goetz
2016-11-01 14:22:38 +01:00
Goetz Lindenmaier
afd17cbfc4 8166837: [TESTBUG] Fix tests on Linux/s390x
Reviewed-by: kvn, simonis
2016-10-31 11:36:45 +01:00
Erik Joelsson
01f09f5782 8169255: Link gtestLauncher statically if libjvm is configured for static linking
Reviewed-by: tbell, dholmes
2016-11-07 10:12:14 +01:00
Iris Clark
bb43a0e538 8166799: ASSEMBLY_EXCEPTION contains historical company name
Reviewed-by: mchung, tbell
2016-10-06 18:05:53 -07:00
Lana Steuck
76159db225 Merge 2016-10-06 23:12:14 +00:00
Lana Steuck
3cc0174544 Added tag jdk-9+139 for changeset 9e274c9c3047 2016-10-06 20:56:10 +00:00
Volker Simonis
fcdc3eac28 8159611: C2: ArrayCopy elimination skips required parameter checks
Reviewed-by: kvn, zmajo, thartmann
2016-10-06 18:51:24 +02:00
Zoltan Majo
7bc6ecfba8 8167578: C1: compiler.escapeAnalysis.TestArrayCopy fails to throw ArrayStoreException
Remove code that causes C1's arraycopy to skip type checks if the length argument is 0

Reviewed-by: kvn
2016-11-01 09:19:14 +01:00
Michail Chernov
45a6944636 Merge 2016-10-31 17:36:39 +00:00
Michail Chernov
f4949ad896 8168535: Quarantine GcCauseTest02 and GcTest02
Reviewed-by: jwilhelm, sjohanss
2016-10-31 18:18:05 +03:00
Goetz Lindenmaier
29654f8fe5 8168283: adlc: fix error expanding expanded nodes
Reviewed-by: kvn
2016-10-19 11:08:03 +02:00
Roland Westrelin
bedfd21b60 8167300: Scheduling failures during gcm should be fatal
Reviewed-by: kvn, mcberg
2016-10-10 17:04:42 +02:00
Roland Westrelin
21f23a996e 8167298: assert(tp->base() != Type::AnyPtr) crash with Unsafe.compareAndExchangeObject*
Unsafe.compareAndExchangeObject should keep track of returned type after matching

Reviewed-by: shade, vlivanov
2016-10-13 12:27:39 +02:00
Doug Simon
47096d7dd1 8168915: [JVMCI] use MethodParameters attribute instead of depending on -g option for sanity checks
Reviewed-by: kvn
2016-10-29 01:09:42 +02:00
Tobias Hartmann
dd45be3f41 8168770: Fix for 8151988 causes performance regression on SPARC
Reversed and re-implemented fix for 8151988 to eagerly cut off control input of Div and Mod nodes.

Reviewed-by: kvn
2016-10-31 09:50:12 +01:00
Vladimir Kozlov
797316e4f1 Merge 2016-10-28 19:33:22 +00:00
Dmitry Chuyko
e70bbbd57f 8067744: XMM/SSE float register values corrupted by JNI_CreateVM call in JRE 8 (Windows)
Save/restore registers in generate_get_cpu_info() code which checks interrupts.

Reviewed-by: kvn, mcberg
2016-10-28 12:28:46 -07:00
Staffan Larsen
1db73e7104 8168305: GC.class_stats should not require -XX:+UnlockDiagnosticVMOptions
Reviewed-by: rehn, mlarsson, iklam
2016-10-28 08:40:35 +02:00
Paul Sandoz
a1289cce5b 8166974: invokedynamic implementation should not wrap Errors
Reviewed-by: dholmes, jrose
2016-10-14 14:47:01 -07:00
Gerard Ziemski
e555a3e342 8166145: runtime/threads/ThreadInterruptTest3 fails with ExitCode 0
Added new hashtables logging tag and used it print out the table performance details.

Reviewed-by: coleenp, dholmes
2016-10-27 09:42:45 -05:00
Igor Henrique Soares Nunes
8ab06fddce 8168318: PPC64: Use cmpldi instead of li/cmpld
Reviewed-by: goetz
2016-10-27 12:22:28 +02:00
Markus Grönlund
c313933e5d Merge 2016-10-27 12:18:36 +02:00
Martin Doerr
9ccff4aa30 8168083: PPC64: Cleanup template interpreter after 8154580 and 8154867
Reviewed-by: goetz, coleenp
2016-10-27 11:41:53 +02:00
Markus Grönlund
07a68838f2 Merge 2016-10-27 11:20:37 +02:00
Markus Grönlund
5ce7a44cf0 8168662: Intrinsic support for event based tracing needs explicit control dependency
Reviewed-by: kvn, rehn
2016-10-27 11:14:30 +02:00
Marcus Larsson
43db68dee4 8146009: "pure virtual method called" with using new GC logging mechanism
Co-authored-by: Michail Chernov <michail.chernov@oracle.com>
Reviewed-by: dsamersoff, dholmes, mchernov
2016-10-21 10:14:54 +02:00
Marcus Larsson
8641d21c56 8166117: Add UTC timestamp decorator for UL
Reviewed-by: rehn, rprotacio
2016-10-21 10:18:11 +02:00
Goetz Lindenmaier
a4cfffae9b 8167673: [s390] The s390 port
Template interpreter, C1, C2

Reviewed-by: kvn, simonis
2016-10-13 14:49:34 +02:00
Andrew Haley
810f5aada6 Merge 2016-10-06 09:36:23 +00:00
Andrew Haley
25a130784d 8167200: AArch64: Broken stack pointer adjustment in interpreter
Always adjust SP unconditionally

Reviewed-by: dlong, kbarrett
2016-10-06 09:25:21 +00:00
Doug Simon
dd2c391c43 8167194: [JVMCI] no reliable mechanism for querying JVMCI system properties
Reviewed-by: kvn
2016-10-05 13:56:26 -07:00
Vladimir Kozlov
60735c4b5c Merge 2016-10-05 21:35:05 +02:00
Tom Rodriguez
a777d77fb5 8166929: [JVMCI] Expose decompile counts in MDO
Reviewed-by: twisti
2016-10-05 11:32:50 -07:00
Alejandro Murillo
ce5aedb30c Merge 2016-10-05 09:52:53 -07:00
Erik Joelsson
f747c500ff 8161025: GPL header missing comma in year
Reviewed-by: dholmes
2016-10-05 17:11:14 +02:00
Erik Helin
f2c1ba20ec 8167190: Remove confusing timestamps from the gc log
Reviewed-by: sjohanss, pliden
2016-10-05 16:00:10 +02:00
Alejandro Murillo
eea7047fba Merge 2016-10-05 06:28:22 -07:00
Goetz Lindenmaier
a5eb94ccef 8167184: [s390] Extend relocations for pc-relative instructions
Reviewed-by: kvn
2016-10-05 15:20:35 +02:00
Stefan Johansson
3c1ab21ffa 8165949: Serial and ConcMarkSweep do not unload strings when class unloading is disabled
Reviewed-by: mgerdin, tschatzl, stefank
2016-10-05 13:35:57 +02:00
Erik Joelsson
8de7ce99bd 8150736: Excessive disk space used by build system
Reviewed-by: ihse
2016-10-05 10:49:49 +02:00
Roland Schatz
067a31e839 Merge 2016-10-03 19:09:26 +00:00
Roland Schatz
f79d9adc24 8166781: fix wrong comment in ReceiverTypeData
Reviewed-by: kvn
2016-10-03 17:54:28 +00:00
Dean Long
ea3671c0ba Merge 2016-10-03 12:35:51 -04:00
Calvin Cheung
ac6b2ca3dc 8166930: minor cleanups 1) remove reference to ZIP_ReadMappedEntry 2) checking of st_mode
Reviewed-by: jiangli, lfoltan
2016-09-30 12:11:02 -07:00
Alejandro Murillo
d058e0d477 Merge 2016-09-30 03:24:03 -07:00
Alejandro Murillo
f0393d5b01 Merge 2016-09-30 02:52:38 -07:00
Erik Joelsson
ebba4ba1c1 8160630: libjimage.so and others should link statically to libgcc
Reviewed-by: ihse, tbell
2016-09-30 09:06:02 +02:00
Rachel Protacio
a687d709e2 Merge 2016-09-29 18:00:01 +00:00
Rachel Protacio
876f72beaf 8160064: StackWalker implementation added logging option without using UL
Moved StackWalk logging to Unified Logging framework

Reviewed-by: coleenp, mockner, dholmes, mchung
2016-09-29 13:32:17 -04:00
Lana Steuck
d24ea639be Merge 2016-09-29 17:23:47 +00:00
Lana Steuck
5e40fe543e Added tag jdk-9+138 for changeset b4b4c1119f39 2016-09-29 16:45:09 +00:00
Roland Westrelin
a8c02b10fd 8166836: Elimination of clone's ArrayCopyNode may make compilation fail silently
Reviewed-by: vlivanov
2016-09-28 11:17:51 +02:00
Jamsheed Mohammed C M
7cc1fb0747 8134389: Crash in HotSpot with jvm.dll+0x42b48 ciObjectFactory::create_new_metadata
Always obtain return type from declared_signature for Invoke::declared_type. TypeCast return value to declared_signature return type for inlined lforms.

Reviewed-by: kvn, vlivanov
2016-09-29 22:37:05 -07:00
Tom Rodriguez
146d0563d9 8166869: [JVMCI] record metadata relocations for metadata references
Reviewed-by: kvn
2016-09-29 10:00:56 -07:00
Chuck Rasbold
f99a7c05c4 8166742: SIGFPE in C2 Loop IV elimination
Reviewed-by: kvn
2016-09-28 10:11:40 -07:00
Alejandro Murillo
42f19e9bc4 Merge 2016-09-27 09:04:49 -07:00
Doug Simon
25017eef2c 8166517: [JVMCI] export JVMCI to auto-detected JVMCI compiler
Reviewed-by: kvn, twisti
2016-09-27 04:48:51 -07:00
Goetz Lindenmaier
26559c033b 8166765: [ppc] Port "8163014: Mysterious/wrong value for long frame local variable on 64-bit"
Reviewed-by: mockner
2016-09-27 10:47:08 +02:00
Goetz Lindenmaier
a4676806a8 8166777: [ppc] port "8164086: Checked JNI pending exception check should be cleared"
Reviewed-by: fparain, dholmes
2016-09-27 15:45:44 +02:00
Sharath Ballal
9de81c383a 8165537: runtime/SharedArchiveFile/SASymbolTableTest.java fails with NullPointerException
Modify SASymbolTableTest.java to attach to LingeredApp and also handle the case where SymbolTable is not created.

Reviewed-by: dsamersoff, mseledtsov, iklam
2016-09-28 11:58:56 +05:30
Dean Long
632120bcd7 Merge 2016-09-27 20:55:13 -04:00
Erik Österlund
e6c9f4d18d 8165857: CMS _overflow_list is missing volatile specifiers
Change _overflow_list from "oop" to "oopDesc* volatile", both CMS and ParNew.

Reviewed-by: kbarrett, tschatzl
2016-09-27 16:43:59 -04:00
Ningsheng Jian
d3ef4d9c33 8165673: AArch64: Fix JNI floating point argument handling
Reviewed-by: aph, adinn
2016-09-27 09:25:26 +01:00
Martin Doerr
ec43099478 8166689: PPC64: Race condition between stack bang and non-entrant patching
Reviewed-by: goetz
2016-09-27 09:26:30 +02:00
Dean Long
42ec83b459 Merge 2016-09-26 14:21:21 -04:00
Kirill Zhaldybin
7487c57399 8159818: Convert IHOP_test to GTest
Reviewed-by: tschatzl, iignatyev
2016-09-26 17:49:01 +03:00
Frederic Parain
f0060fce2d Merge 2016-09-26 20:24:34 +00:00
Frederic Parain
e36aa5f9d0 8146546: assert(fr->safe_for_sender(thread)) failed: Safety check
Reviewed-by: dcubed, gziemski, dlong
2016-09-26 15:56:39 -04:00
Kim Barrett
7a9ceeb8ef 8166663: Simplify oops_on_card_seq_iterate_careful
Remove unnecessary parameter, change return value.

Reviewed-by: tschatzl, mgerdin
2016-09-26 14:38:35 -04:00
Alejandro Murillo
147c8c897c Merge 2016-09-23 13:32:17 -07:00
Igor Ignatyev
d2c144fb0f 8166549: fix incorrectly @ignore-d hotspot/compiler tests
Reviewed-by: kvn, kzhaldyb
2016-09-22 22:51:51 +03:00
Lana Steuck
16891876ab Merge 2016-09-22 18:32:20 +00:00
Brent Christian
362c2a8f6d 8166501: compilation error in stackwalk.cpp on some gccs
Reviewed-by: coleenp
2016-09-22 10:24:25 -07:00
Lana Steuck
7b52c73b39 Added tag jdk-9+137 for changeset 94d6d0f4ced0 2016-09-22 16:41:12 +00:00
Goetz Lindenmaier
969358fbb3 8166562: C2: Suppress relocations in scratch emit
Reviewed-by: kvn
2016-09-22 18:33:47 +02:00
Goetz Lindenmaier
da8430daf1 8166561: [s390] Adaptions needed for s390 port in C1 and C2
Reviewed-by: kvn
2016-09-22 18:29:15 +02:00
Goetz Lindenmaier
7aed968c10 8166560: [s390] Basic enablement of s390 port
Also fix problem with ARM Elf configuration.

Reviewed-by: dholmes, coleenp
2016-09-22 18:23:15 +02:00
Volker Simonis
9a793cb30e 8168490: Use the LL/ULL suffixes to define 64-bit integer literals on Windows
Reviewed-by: dholmes, mgerdin, stuefe
2016-10-25 16:42:28 +02:00
Rachel Protacio
e715dd214c Merge 2016-10-26 20:13:29 +00:00
Rachel Protacio
420a682afa 8167995: -Xlog:defaultmethods=debug: lengthy method descriptor triggers "StringStream is re-allocated with a different ResourceMark"
Removed nested ResourceMark declarations

Reviewed-by: dholmes, hseigel
2016-10-26 15:46:13 -04:00
Boris Molodenkov
ebdc27f789 8165451: Convert WorkerDataArray_test to GTest
Reviewed-by: jwilhelm
2016-10-26 17:29:47 +03:00
Tobias Hartmann
ed9adcbdfa 8164612: NoSuchMethodException when method name contains NULL or Latin-1 supplement character
String length needs to be updated when converting from unicode to utf8.

Reviewed-by: kvn, coleenp
2016-10-26 14:36:05 +02:00
Igor Ignatyev
3953f5a523 Merge 2016-09-22 16:41:01 +02:00
Dmitry Samersoff
ce7e3e24e4 Merge 2016-09-22 14:29:56 +00:00
Andrew Dinn
200e239278 8166433: AArch64: Fix for JDK-8163014 broke AArch64 build
Reviewed-by: adinn, coleenp
2016-09-22 09:18:16 -04:00
Jini George
fadcca5e9a 8166552: SA: Missed testcase for add default methods to InstanceKlass
Add default methods to InstanceKlass to enable SA to inspect default methods

Reviewed-by: dsamersoff, iklam
2016-09-22 15:42:40 +03:00
Erik Joelsson
3dad87645d 8166202: Tracefile gensrc cannot handle closed src dir in different location
Reviewed-by: egahlin, dholmes, tbell
2016-09-22 08:57:37 +02:00
Kirill Zhaldybin
691719a05b Merge 2016-09-22 00:21:25 +02:00
Chris Plummer
dcde22fc99 8161225: Assert failure in JVMTI GetNamedModule at JPLISAgent.c line: 792
Made the assert less restrictive.

Reviewed-by: dholmes, dcubed, sspitsyn
2016-09-21 12:53:16 -07:00
Christian Tornqvist
9cc42b8afa Merge 2016-09-21 18:40:50 +00:00
Christian Tornqvist
52d47e1dbb Merge 2016-09-21 16:52:45 +00:00
Coleen Phillimore
363f3f44ad Merge 2016-09-21 16:47:26 +00:00
Christian Tornqvist
371c29a652 8164852: Move slow tier1/tier2 runtime tests to later tiers
Reviewed-by: gtriantafill, sla, mseledtsov
2016-09-21 12:45:18 -04:00
Alejandro Murillo
d70098fba8 Merge 2016-09-21 09:29:30 -07:00
Coleen Phillimore
e57692c642 8163969: Cyclic interface initialization causes JVM crash
Fix interface initialization to follow spec: interface initializations do not set initialization state of interfaces that extend them.

Reviewed-by: dholmes, acorn, lfoltan
2016-09-21 09:56:18 -04:00
Dmitry Dmitriev
25c6510309 8150758: [TESTBUG] need jvmti tests for module aware agents
Reviewed-by: sspitsyn, dsamersoff
2016-09-21 16:46:13 +03:00
Alan Burlison
ce5c490b25 8165161: Solaris: /usr/ccs /opt/sfw and /opt/csw are dead, references should be expunged
Reviewed-by: erikj
2016-09-21 14:23:33 +02:00
Kirill Zhaldybin
fc6ff5182d Merge 2016-09-21 11:31:23 +02:00
Serguei Spitsyn
b1e537250c Merge 2016-09-21 08:38:21 +00:00
Serguei Spitsyn
70c7173745 8147943: jvmti.h generated with GPL header
Generate the jvmti.h with the GPL+CP header

Reviewed-by: dcubed, alanb
2016-09-21 01:33:21 -07:00
Joseph Provino
6e3a0f41c1 Merge 2016-09-20 22:38:26 +00:00
Joseph Provino
e11ceb441a Merge 2016-09-20 20:45:35 +00:00
Erik Österlund
f6f5dfdb4a 8033552: Fix missing missing volatile specifiers in CAS operations in GC code
Add missing volatile specifiers.

Reviewed-by: kbarrett, tschatzl
2016-09-20 15:42:17 -04:00
Calvin Cheung
7ee6161c86 Merge 2016-09-20 20:22:19 +02:00
Calvin Cheung
f9707ab4cd 8164011: --patch-module support for CDS
Allows the use of the --patch-module vm option with CDS. However, classes found in --patch-module during dump time will not be archived.

Reviewed-by: iklam, dcubed, lfoltan
2016-09-20 10:37:19 -07:00
Brent Christian
453166437e 8165372: StackWalker performance regression following JDK-8147039
Stack walking can use javaVFrame or vframeStream

Reviewed-by: coleenp, mchung
2016-09-20 10:04:55 -07:00
Joseph Provino
0086595519 8164482: [REDO] G1 does not implement millis_since_last_gc which is needed by RMI GC
G1 does not return a correct value for the CollectedHeap::millis_since_last_gc()

Reviewed-by: tschatzl, kbarrett
2016-09-20 10:27:51 -04:00
Erik Österlund
6085d008cc 8165860: WorkGroup classes are missing volatile specifiers for lock-free code
Reviewed-by: mgerdin, tschatzl
2016-09-20 11:41:43 +02:00
Kim Barrett
5cc9e041ae Merge 2016-09-20 00:34:54 +00:00
Kim Barrett
9b7c58376f 8166228: Remove unused HeapRegion::object_iterate_mem_careful()
Removed unused function.

Reviewed-by: mgerdin, tschatzl
2016-09-19 19:59:28 -04:00
Harold Seigel
2e74f81187 8166312: Backout 8165017
Backout of the change for JDK-8165017 because tests failed on windows

Reviewed-by: ctornqvi, dholmes, gtriantafill
2016-09-19 19:25:09 -04:00
Thomas Schatzl
c354a62301 8166207: Use of Copy::conjoint_oops_atomic in global mark stack causes crashes on arm64
Use Copy::conjoint_memory_atomic() instead.

Reviewed-by: kbarrett
2016-09-19 22:55:26 +02:00
Kim Barrett
443a10735b Merge 2016-09-19 17:35:25 +00:00
Kim Barrett
8617484bde 8166229: Eliminate ParNew's use of klass_or_null()
Use list_ptr_from_klass instead of klass_or_null.

Reviewed-by: mgerdin, jmasa
2016-09-19 13:12:26 -04:00
Lois Foltan
368585d0db 8163406: The fixup_module_list must be protected by Module_lock when inserting new entries
In java_lang_Class::create_mirror, restructure the check for adding a class to the fixup_module_list, guarded by Module_lock.

Reviewed-by: acorn, coleenp, dholmes, zgu
2016-09-19 12:04:28 -04:00
Martin Doerr
8180ee5c6a 8166140: C1: Possible integer overflow in LIRGenerator::generate_address on several platforms
Reviewed-by: kvn
2016-09-19 15:08:03 +02:00
Tobias Hartmann
36c39d5c25 8161085: PreserveFPRegistersTest fails with 'AssertionError: Final value has changed'
C1's G1 barriers should save/restore vector registers before calling into the runtime.

Reviewed-by: kvn, vlivanov
2016-09-26 08:51:36 +02:00
Jiangli Zhou
eb52950704 8078644: CDS needs to support JVMTI CFLH
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.

Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
2016-09-18 21:10:48 -04:00
Alejandro Murillo
51fc5bf895 Merge 2016-09-16 10:57:18 -07:00
Kirill Zhaldybin
0581d8c4cb 8165613: Convert TestKlass_test to Gtest
Reviewed-by: coleenp, rehn
2016-09-16 19:49:03 +03:00
Lana Steuck
b746593bbf Merge 2016-09-15 21:09:16 +00:00
Lana Steuck
35bb5b0369 Added tag jdk-9+136 for changeset 36d7560ae09e 2016-09-15 17:15:52 +00:00
Kirill Zhaldybin
9665140a14 8165602: Convert TestChunkedList_test to GTest
Reviewed-by: iignatyev, dfazunen
2016-09-15 18:18:39 +03:00
Erik Österlund
1d00efa1c6 8165858: heapRegionManager is missing volatile specifier for _claims
Added volatile specifier.

Reviewed-by: kbarrett, tschatzl
2016-09-24 16:02:29 -04:00
Kim Barrett
c0c4200524 8166583: Add oopDesc::klass_or_null_acquire()
Added new function.

Reviewed-by: dholmes, tschatzl
2016-09-23 18:23:12 -04:00
Alejandro Murillo
630f133f17 Merge 2016-09-23 13:44:01 -07:00
Mandy Chung
5460376f61 8157464: Disallow StackWalker.getCallerClass() be called by caller-sensitive method
Reviewed-by: bchristi, coleenp, dfuchs, sspitsyn
2016-09-14 11:53:20 -07:00
Jon Masamitsu
cc223fcb91 8161029: GPL header missing comma after year
Reviewed-by: kbarrett, ehelin
2016-09-13 16:18:44 -07:00
Harold Seigel
228097de7c 8149607: [Verifier] Do not verify pop, pop2, swap, dup* against top
Throw VerifyError exception if type top is illegally popped from the stack.

Reviewed-by: coleenp, acorn, ddmitriev
2016-09-14 10:02:49 -04:00
George Triantafillou
d624da8942 8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
Remove use of setAccessible() to get Unsafe.

Reviewed-by: shade, lfoltan
2016-09-14 08:17:50 -04:00
Serguei Spitsyn
08cc021f41 Merge 2016-09-13 21:29:30 +00:00
Serguei Spitsyn
fadbcc36d7 Merge 2016-09-13 20:17:46 +00:00
Serguei Spitsyn
c702b1312c 8165681: ClassLoad and ClassPrepare JVMTI events are missed in the start phase
Add the events bits to the early events bits

Reviewed-by: dholmes, dsamersoff
2016-09-13 13:10:42 -07:00
Chris Plummer
69c242a5cb Merge 2016-09-13 18:22:21 +00:00
Chris Plummer
7d78c51cd8 Merge 2016-09-13 17:22:28 +00:00
Robbin Ehn
2a22a8359b Merge 2016-09-13 19:17:21 +02:00
Max Ockner
91140d95d2 Merge 2016-09-13 18:19:05 +02:00
Max Ockner
6b056f929d 8163014: Mysterious/wrong value for "long" frame local variable on 64-bit
The high byte of a long variable on a 64-bit platform is now zeroed when it is pushed to stack.

Reviewed-by: coleenp, dlong
2016-09-13 11:04:29 -04:00
Thomas Schatzl
c719b0171c 8164948: Initializing stores of HeapRegions are not ordered with regards to their use in G1ConcurrentMark
Add a storestore barrier before publishing newly initialized HeapRegion instances, and place a loadload barrier before use of members.

Reviewed-by: sjohanss, sangheki
2016-09-13 11:32:45 +02:00
David Simms
1c2da5f5ed 8164086: Checked JNI pending exception check should be cleared when returning to Java frame
Transitions to Java clear the pending pointer

Reviewed-by: dholmes, neliasso, coleenp
2016-09-13 09:04:44 +02:00
Poonam Bajaj
e3245f1900 Merge 2016-09-12 18:59:13 +00:00
Poonam Bajaj
2347610827 8165493: SA: Add method in GrowableArray.java to be able to access the 'data' field
Reviewed-by: dholmes, dsamersoff, egahlin
2016-09-12 17:18:19 +00:00
Christian Tornqvist
22d512c0ed 8165881: Backout JDK-8164913
Reviewed-by: hseigel
2016-09-12 13:16:39 -04:00
Stefan Johansson
f6a7898995 8114823: G1 doesn't honor request to disable class unloading
Reviewed-by: tschatzl, mgerdin
2016-09-12 16:34:36 +02:00
Alejandro Murillo
a59ec11276 Merge 2016-09-10 12:18:31 -07:00
Dean Long
45204fc0bf Merge 2016-09-08 23:43:45 -04:00
Lana Steuck
9525f089b5 Added tag jdk-9+135 for changeset 967c7d5073aa 2016-09-08 21:11:53 +00:00
Kirill Zhaldybin
4eab390a81 8165601: Convert arrayOopDesc_test to Gtest
Reviewed-by: coleenp, iignatyev
2016-09-08 18:41:10 +03:00
Kirill Zhaldybin
6075eea505 8165433: Convert Test_linked_list to Gtest
Reviewed-by: coleenp, dholmes, iignatyev
2016-09-08 15:23:05 +03:00
Erik Helin
be6cc69504 8165455: Tracing events for G1 have incorrect metadata
Reviewed-by: egahlin, tschatzl
2016-09-08 12:30:38 +02:00
Thomas Schatzl
1075dcd335 8165313: Inserting freed regions during Free Collection Set serial phase takes very long on huge heaps
Sort the collection set in ascending order so that the optimization when adding free regions can be exploited.

Reviewed-by: sjohanss, mgerdin
2016-09-12 09:34:51 +02:00
Alejandro Murillo
4c5520208b Merge 2016-09-10 12:23:52 -07:00
Harold Seigel
37c77e03d3 8165634: Support multiple --add-modules options on the command line
Use numbered properties for --add-module options so that multiple --add-module options can be supported.

Reviewed-by: coleenp, gziemski, lfoltan, ccheung
2016-09-10 08:25:51 -04:00
Daniel D. Daugherty
ddb3cd1998 Merge 2016-09-09 19:41:41 +00:00
Daniel D. Daugherty
097b1f1495 Merge 2016-09-09 11:23:59 -07:00
Ron Durbin
2bb3bc6449 8140520: segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option
Split the single thread_min_stack_allowed into three distinct values (java_thread_min_stack_allowed, compiler_thread_min_stack_allowed and vm_internal_thread_min_stack_allowed) on non-Windows platforms.

Reviewed-by: dcubed, gthornbr, dholmes, coleenp, fparain, aph
2016-09-09 11:14:57 -07:00
Alexander Vorobyev
d22c8d1b01 8146128: compiler/cpuflags/TestAESIntrinsicsOnSupportedConfig timeouts
Test settings were changes in order to avoid timeouts

Reviewed-by: kvn
2016-09-09 19:30:08 +03:00
Serguei Spitsyn
98babf0899 Merge 2016-09-09 06:44:31 +00:00
Yasumasa Suenaga
7a341735fe 8164913: JVMTI.agent_load dcmd should show useful error message
Show useful error message

Reviewed-by: dholmes, dsamersoff, sspitsyn
2016-09-08 23:38:56 -07:00
Rachel Protacio
180c089047 Merge 2016-09-06 22:52:35 +02:00
Rachel Protacio
a8147854b7 8161224: CONSTANT_NameAndType_info permits references to illegal names and descriptors
Enforces proper format checking for NameAndType string content, and that the checking occurs even when not referenced in classfile

Reviewed-by: coleenp, hseigel, ddmitriev
2016-09-06 16:29:32 -04:00
Michael Berg
89f7f6f4b3 8164989: Inflate and compress intrinsics produce incorrect results with avx512
Disabled avx512 for compress and reastrict using of inflate.

Reviewed-by: kvn
2016-09-06 09:59:25 -07:00
Martin Doerr
38eb4a4f6f 8165489: Missing G1 barrier in Unsafe_GetObjectVolatile
Add missing barrier, sharing code with Unsafe_GetObject.

Reviewed-by: kbarrett, mgerdin, pliden
2016-09-06 13:01:27 +02:00
Alejandro Murillo
b56e8054a3 Merge 2016-09-16 13:15:01 -07:00
Gerard Ziemski
ba4a3fbd20 8136766: Enable ThreadStackSize range test
Re-enabled max range check for StackSize runtime options

Reviewed-by: dcubed
2016-09-16 12:09:53 -05:00
Thomas Schatzl
317f1aa044 8157952: Parallelize Memory Pretouch
Use multiple threads to pretouch memory using -XX:+AlwaysPreTouch to use more memory bandwidth

Reviewed-by: jmasa, sangheki
2016-09-16 11:33:47 +02:00
Kim Barrett
b77d0de3d9 8165808: Add release barriers when allocating objects with concurrent collection
Add release_set_klass, use in slow-path allocators.

Reviewed-by: jmasa, dholmes
2016-09-15 12:10:43 -04:00
Thomas Schatzl
94bbcbd378 8159422: Very high Concurrent Mark mark stack contention
Decrease contention on mark stack by splitting locks, and minimizing the amount of time these locks are held. Improve mark stack management.

Reviewed-by: kbarrett, mgerdin, eosterlund
2016-09-15 16:44:19 +02:00
Alexander Kulyakhtin
8a329d56cf 8165017: Additional test coverage of the JDWP CLASSLOADER and MODULE commands
A new JDWP test

Reviewed-by: sspitsyn
2016-09-14 16:20:54 +03:00
Jini George
21f3d1ae5f 8027920: SA: Add default methods to InstanceKlass
Add default methods to InstanceKlass to enable SA to inspect default methods

Reviewed-by: dsamersoff, iklam
2016-09-15 10:19:11 +03:00
Sharath Ballal
848db998d9 8165114: stale reference to hotspot test Test8028623.java
Remove Test8028623.java from hotspot/test/TEST.groups

Reviewed-by: sla, dholmes
2016-09-06 09:54:45 +03:00
Martin Doerr
02654e7d3d 8165018: Missing memory barrier for PPC64 in Unsafe_GetObjectVolatile
Reviewed-by: kbarrett, dholmes
2016-09-05 20:40:08 -04:00
Kirill Zhaldybin
616083ca76 8165439: Convert Test_TempNewSymbol to GTest
Reviewed-by: dholmes, coleenp
2016-09-05 20:31:03 +03:00
Mikael Gerdin
50fb03349c 8161079: Default heap size causes native memory exhaustion on 32 bit Windows
Reviewed-by: tschatzl, sjohanss
2016-09-02 16:45:16 +02:00
David Holmes
37b36db885 Merge 2016-09-07 23:17:24 +02:00
David Holmes
1a8f8e22f1 8165153: Crash in rebuild_cpu_to_node_map
Use processor_count(), not active_processor_count() to determine physical number of CPUs

Reviewed-by: rehn, cjplummer
2016-09-07 16:43:32 -04:00
Coleen Phillimore
49d869c03c Merge 2016-09-07 19:29:01 +00:00
Coleen Phillimore
3c2621dbdd 8165246: [REDO] InstanceKlass::_previous_version_count goes negative
Make _has_previous_version a boolean that is set to true when previous version of a class is added or during class unloading call to purge_previous_versions

Reviewed-by: gtriantafill, dcubed, sspitsyn
2016-09-07 15:25:21 -04:00
Frederic Parain
a900715bbf 8137035: nsk/stress/stack/stack tests got EXCEPTION_STACK_OVERFLOW on Windows 64 bit
Reviewed-by: dholmes, dcubed, coleenp
2016-09-07 12:52:20 -04:00
Marcus Larsson
be0d2c98ed Merge 2016-09-07 15:21:45 +02:00
Marcus Larsson
af30b26344 8165226: Bad -Xloggc: arguments crashes the VM
Reviewed-by: dsamersoff, sjohanss
2016-09-07 14:36:44 +02:00
Harold Seigel
e8e6415b7a 8058575: IllegalAccessError trying to access package-private class from VM anonymous class
Put anonymous classes in unnamed package into host class's package.  Throw exception if host class's package differs from anonymous class.

Reviewed-by: coleenp, acorn
2016-09-07 07:19:48 -04:00
Thomas Schatzl
c271d83599 8165292: The gc+task logging is repeated a lot, decreasing the usefulness of -Xlog:gc*=info
Separate number of workers used debugging information from adaptive worker sizing log messages.

Reviewed-by: ehelin, sjohanss, jmasa
2016-09-07 09:20:10 +02:00
Lana Steuck
14a83e312b Merge 2016-09-02 02:41:12 +00:00
Lana Steuck
f0e3ab9218 Added tag jdk-9+134 for changeset 6efb7e03e19c 2016-09-01 23:20:10 +00:00
Tatiana Pivovarova
a78140b822 8165050: [TESTBUG] tests generated by jittester cannot be run with jtreg
Reviewed-by: vlivanov
2016-09-01 20:16:04 +03:00
Dmitrij Pochepko
11bd07c98b 8165244: Unquarantine compiler/jvmci/compilerToVM/ExecuteInstalledCodeTest.java
Reviewed-by: kvn
2016-09-01 21:15:12 +03:00
Dmitrij Pochepko
5b11c37fb7 8146096: [TEST BUG] compiler/loopopts/UseCountedLoopSafepoints.java Timeouts
Reviewed-by: kvn
2016-09-01 21:13:20 +03:00
Dmitrij Pochepko
20bd3cebb8 8157956: OverflowCodeCacheTest.java fails with Out of space in CodeCache for method handle intrinsic
Reviewed-by: kvn
2016-09-01 21:12:07 +03:00
Dean Long
2baffbf490 8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links
Process previous versions in Klass::clean_weak_klass_links()

Reviewed-by: coleenp, sspitsyn, stefank, dcubed
2016-08-31 12:10:40 -07:00
Harold Seigel
31becdb0d2 Merge 2016-08-31 16:41:01 +00:00
Alejandro Murillo
aecf372724 Merge 2016-08-31 09:22:53 -07:00
Erik Joelsson
992e74a183 8164862: 2 JVMCI tests should not be executed on linux-x86
Reviewed-by: kvn, gtriantafill
2016-08-31 16:48:26 +02:00
Harold Seigel
0fd1f32873 8162412: Ignore any System property specified as -Djdk.module that matches reserved module system properties
Change the checks for module related properties to look for specific properties, not just jdk.module

Reviewed-by: coleenp, gziemski, ddmitriev
2016-08-31 10:27:32 -04:00
Tatiana Pivovarova
b2c1c48604 8165030: [TESTBUG] ctw failed to build after 8157957
Reviewed-by: kvn
2016-08-31 14:47:20 +03:00
Coleen Phillimore
31d8fcc4f9 8164692: InstanceKlass::_previous_version_count goes negative
Decrement previous_version_count when it's removed from the list.

Reviewed-by: dcubed, dlong, sspitsyn
2016-08-31 06:35:19 -04:00
Jini George
ab538ab5ed 8163150: SA: CLHSDB printmdo throws an exception with "java.lang.InternalError: missing reason for 22"
Accounted for the new JVMCI related Deoptimization Reasons.

Reviewed-by: dsamersoff, sla
2016-08-31 11:47:14 +03:00
Marcus Larsson
23ceda31a0 8164939: GTest LogDecorations.iso8601_time_test fails on macOS
Reviewed-by: sla, dsamersoff
2016-08-31 09:38:46 +02:00
Kim Barrett
66706edf15 8156500: Move Reference pending list into VM to prevent deadlocks
Move reference pending list and locking into VM

Co-authored-by: Per Liden <per.liden@oracle.com>
Reviewed-by: coleenp, dholmes, dcubed, mchung, plevart
2016-08-30 23:48:16 -04:00
Mandy Chung
d2d5a91ec4 8160851: Remove old launcher module-related options
Reviewed-by: alanb
2016-08-30 17:48:27 -07:00
Kirill Zhaldybin
8a4ddec874 8157468: gc/testlibrary contains a lot of duplicated code
Reviewed-by: dfazunen, iignatyev
2016-08-30 21:35:56 +03:00
Thomas Schatzl
e3e4334ed2 Merge 2016-09-02 11:18:04 +02:00
Thomas Schatzl
e4f4b40488 8164936: G1 age table printout contains contents from previous GC
Split tenuring threshold update and printing into two separate parts so that they can be used independently.

Reviewed-by: jmasa, sangheki
2016-09-02 09:49:10 +02:00
Robbin Ehn
3e07dc6611 8165215: Setting same UL tag multiple times matches wrong tagset
Reviewed-by: mlarsson, rprotacio
2016-09-02 08:51:26 +02:00
Kirill Zhaldybin
8b9c8fc1c4 Merge 2016-09-02 01:39:47 +00:00
Coleen Phillimore
157487a153 Merge 2016-09-02 00:08:18 +00:00
Alejandro Murillo
199b53c0b1 Merge 2016-09-01 15:20:56 -07:00
Coleen Phillimore
f03ab592cc 8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative
Reviewed-by: dcubed
2016-09-01 18:02:13 -04:00
Alejandro Murillo
929ce0118a Merge 2016-09-01 14:09:01 -07:00
Kirill Zhaldybin
87d30c0c7d 8164039: Convert test_memset_with_concurrent_readers to GTest
Reviewed-by: iignatyev, kbarrett
2016-09-01 20:46:40 +03:00
Kirill Zhaldybin
584c5686be Merge 2016-09-01 18:15:49 +03:00
Goetz Lindenmaier
010d9bf7df 8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
Also add methods to check for slow/fastdebug to Platform.java.

Reviewed-by: simonis, cjplummer, dholmes
2016-08-30 16:08:52 +02:00
Tobias Hartmann
d98c766949 Merge 2016-08-30 13:51:56 +00:00
Patric Hedlin
4010176ca5 8157024: CodeCache JFR events reporting wrong data
Fix scaling

Reviewed-by: kvn
2016-08-30 13:53:36 +02:00
Tobias Hartmann
97391177a8 8164480: Crash with assert(handler_address == SharedRuntime::compute_compiled_exc_handler(..) failed: Must be the same
Exception checking code needs to handle pre-allocated exceptions.

Reviewed-by: dnsimon, kvn
2016-08-30 13:24:26 +02:00
Alexander Kulyakhtin
4f55b6c7e0 8148103: add more tests for task "Update JDI and JDWP for modules"
A new JDWP test

Reviewed-by: sspitsyn
2016-08-30 12:48:03 +03:00
Dmitry Samersoff
69e076a5bb Merge 2016-08-30 09:25:18 +00:00
Zoltan Majo
f9d43be3c4 Merge 2016-08-30 09:01:33 +00:00
Trevor Watson
0ad50cd56b 8141634: Implement VarHandles/Unsafe intrinsics on SPARC
Implement the appropriate intrinsics on SPARC.

Reviewed-by: kvn, dholmes, zmajo
2016-08-30 10:50:29 +02:00
Jini George
8445923b1c 8164562: serviceability/sa/TestInstanceKlassSizeForInterface.java: fails with NPE
Addition of  –XX:+UnlockDiagnosticVMOptions for the test invocation for jcmd and modularization related cleanup

Reviewed-by: dholmes, mchung
2016-08-30 11:06:25 +03:00
Zoltan Majo
00c9b389f6 8161720: Better byte behavior for off-heap data
Normalize boolean values read with Unsafe.

Reviewed-by: aph, simonis, jrose, psandoz
2016-08-30 09:30:16 +02:00
Thomas Schatzl
5258f6573c 8155917: Memory access in free regions during G1 full gc causes regressions in SPECjvm2008 scimark.fft,lu,sor,sparse with 9+116 on Linux-x64
Do not unnecessarily touch the memory of free regions during the compaction phase in G1 full gc causing some OSes to allocate physical memory for them, decreasing performance in some situations.

Reviewed-by: mgerdin, jmasa
2016-08-30 09:17:49 +02:00
David Holmes
6db26ca5bf 8158854: Ensure release_store is paired with load_acquire in lock-free code
Reviewed-by: shade, dcubed, zgu
2016-08-29 20:13:45 -04:00
Dmitry Fazunenko
56ff858c45 8164660: MinimalVM is not tested with GC tests
Reviewed-by: jmasa, tschatzl
2016-08-29 23:04:48 +04:00
Tom Rodriguez
7a6ffc8b52 8161550: [JVMCI] Crash: assert(sig_bt[member_arg_pos] == T_OBJECT)
Reviewed-by: zmajo
2016-08-29 17:15:20 +00:00
Kirill Zhaldybin
d871b35f40 8164230: Convert TestCodeCacheRemSet_test to GTest
Reviewed-by: mgerdin, dfazunen
2016-08-29 20:15:12 +03:00
Marcus Larsson
99f0753054 8157948: UL allows same log file with multiple file=
Reviewed-by: dholmes, rehn
2016-08-29 14:11:22 +02:00
Zoltan Majo
97ed41a8e9 8163880: Constant pool caching of fields inhibited/delayed unnecessarily
Delay/inhibit constant pool caching of fields only if necessary

Reviewed-by: kvn
2016-08-29 07:32:37 +02:00
Igor Veresov
2b1aa4e8ae Merge 2016-08-26 14:47:52 -07:00
Alejandro Murillo
15ff5281de Merge 2016-08-26 10:14:14 -07:00
Alejandro Murillo
7b50aee93b Merge 2016-08-26 10:02:47 -07:00
Ioi Lam
e710f3bd8b 8161280: assert failed: reference count underflow for symbol
Reviewed-by: dholmes, coleenp, kbarrett
2016-08-26 06:37:34 -07:00
Marcus Larsson
10245a95e3 8150823: UL disables log outputs incorrectly
Reviewed-by: rehn, sla
2016-08-26 14:27:41 +02:00
Sharath Ballal
4aea7b3333 8163346: Update jmap-hashcode/Test8028623.java for better diagnostic of timeout
Update jmap-hashcode/Test8028623.java to use LingeredApp and rename it to jhsdb/HeapDumpTest.java

Reviewed-by: dsamersoff, dholmes
2016-08-26 13:11:20 +03:00
Lana Steuck
9cbf6bae7c Merge 2016-08-25 22:36:30 +00:00
Lana Steuck
ff0876af59 Added tag jdk-9+133 for changeset cf75dd18b3cd 2016-08-25 21:18:44 +00:00
Jamsheed Mohammed C M
1f57e15997 8158639: C2 compilation fails with SIGSEGV
Fixed the jvms for callsite traps based on declared signature.

Reviewed-by: kvn, vlivanov, dlong
2016-08-25 02:10:03 -07:00
Vladimir Ivanov
d536ff4377 8155635: C2: Mixed unsafe accesses break alias analysis
Reviewed-by: jrose, kvn
2016-08-25 12:52:18 +03:00
Vladimir Ivanov
bf0209ffa9 8162101: C2: Handle "wide" aliases for unsafe accesses
Reviewed-by: kvn
2016-08-25 12:51:10 +03:00
Yasumasa Suenaga
d1eb1ae8ea 8163581: Heap Parameters in HSDB cannot handle G1CollectedHeap
Reviewed-by: dholmes, sjohanss
2016-08-25 12:24:05 +09:00
Rachel Protacio
1618785868 Merge 2016-08-25 13:48:42 +00:00
Rachel Protacio
c6c1bee762 8148854: Class names "SomeClass" and "LSomeClass;" treated by JVM as an equivalent
Added default format checking of class names loaded by the app class loader

Reviewed-by: coleenp, lfoltan
2016-08-25 09:23:45 -04:00
Christian Tornqvist
820b9e7a16 8164737: Remove Unsafe dependency from ProcessTools
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:40:53 -04:00
Dmitry Fazunenko
3ba0af5c09 8164133: Tests gc/arguments/TestAlignmentToUseLargePages.java and gc/cms/TestBubbleUpRef.java use too small heap
Reviewed-by: jmasa, sangheki, kzhaldyb
2016-08-25 14:12:09 +04:00
David Holmes
e316907948 8157904: Atomic::cmpxchg for jbyte is missing a fence on initial failure
Reviewed-by: simonis, aph, kbarrett
2016-08-24 19:54:03 -04:00
Robbin Ehn
3b1c3587d9 8164208: Update tests with redefine classes UL options and tags​
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:21 +02:00
Kirill Zhaldybin
ad62406df7 8164743: Convert TestAsUtf8 to GTest
Reviewed-by: dholmes, rprotacio
2016-08-24 19:21:20 +03:00
Kirill Zhaldybin
635fad4510 8164738: Convert AltHashing_test to GTest
Reviewed-by: dholmes, coleenp
2016-08-24 18:10:09 +03:00
Robbin Ehn
d67d71f44c 8163589: Add back class id intrinsic method for event based tracing
Reviewed-by: kvn, mgronlun
2016-09-01 08:30:17 +02:00
Martin Doerr
ddfcdd9299 8165014: Unaligned unsafe access should throw InternalError on Solaris
Reviewed-by: dholmes, coleenp
2016-08-31 19:41:57 -04:00
Christian Tornqvist
f2dafaefc7 8163146: Remove os::check_heap on Windows
Reviewed-by: gtriantafill, coleenp, stuefe
2016-08-23 21:49:33 -04:00
Doug Simon
0eb2d4511b Merge 2016-08-23 22:31:48 +00:00
Doug Simon
1fd875eaf9 8164358: [JVMCI] expose Hotspot intrinsics and HotSpotIntrinsicCandidate info to JVMCI
Reviewed-by: twisti, kvn, never
2016-08-23 22:24:31 +00:00
Erik Gahlin
09b2ad770b Merge 2016-08-23 22:51:24 +02:00
Vivek Deshpande
82de2bf10e 8151988: Hotspot deoptimizes div/mod pair usage
Don't remove control edge of Mod node until DivMod node matching

Reviewed-by: kvn
2016-08-23 12:26:05 -07:00
Coleen Phillimore
6fc83c09aa Merge 2016-08-23 19:20:13 +00:00
Erik Gahlin
9f2afd7e4e Merge 2016-08-23 20:38:19 +02:00
Tatiana Pivovarova
bed33a8972 Merge 2016-08-23 18:03:37 +00:00
Coleen Phillimore
160021d374 8038797: JVMTI FollowReferences does not report roots reachable from nmethods
Also follow nmethods found on the execution stack.

Reviewed-by: dlong, mgerdin
2016-08-23 13:44:59 -04:00
Christian Tornqvist
3d2138fde0 Merge 2016-08-23 17:27:56 +00:00
Erik Gahlin
c98e599afa 8164523: Clean up metadata for event based tracing
Reviewed-by: mlarsson, mgronlun
2016-08-23 19:21:48 +02:00
Christian Tornqvist
1d929d1259 8155964: Create a set of tests for verifying the Minimal VM
Reviewed-by: gtriantafill, dholmes, lmesnik, cjplummer
2016-08-23 13:20:51 -04:00
Dmitrij Pochepko
e6e0ecf74c Merge 2016-08-23 18:57:21 +02:00
Tatiana Pivovarova
a06d2b8547 8164648: [TESTBUG] jittester failed compilation after 8157957
Reviewed-by: vlivanov
2016-08-23 19:53:40 +03:00
Dmitrij Pochepko
f724bcdd9d 8164608: [TESTBUG] compiler/profiling tests fail to compile
Reviewed-by: ctornqvi
2016-08-23 19:30:56 +03:00
Doug Simon
00979c250a 8164214: [JVMCI] include VarHandle in signature polymorphic method test
Reviewed-by: kvn, twisti, iveresov, psandoz
2016-08-23 15:16:45 +00:00
Tobias Hartmann
913622a641 8038348: Instance field load is replaced by wrong data Phi
Store additional information in PhiNodes corresponding to known instance field values to avoid incorrect reusage.

Reviewed-by: kvn, vlivanov
2016-08-23 13:44:26 +02:00
Doug Simon
976dd96a1e Merge 2016-08-22 20:30:37 +00:00
Doug Simon
da1655a009 8163864: [JVMCI] move MethodProfileWidth to jvmci_globals.hpp
Reviewed-by: zmajo
2016-08-22 19:29:15 +00:00
Igor Veresov
14830c4604 8164122: C1: assert(false) failed: stack or locks not matching (invalid bytecodes)
Ignore return value if MH intrinsic returns void

Reviewed-by: roland, kvn
2016-08-22 11:47:15 -07:00
Rachel Protacio
d4728727fb Merge 2016-08-22 15:54:22 +00:00
Rachel Protacio
fca8d5b7b1 8163973: VM Anonymous classes should not call Class File Load Hooks
Ensures CFLH's are not called for VM anonymous classes

Reviewed-by: lfoltan, dholmes, coleenp, vlivanov, acorn
2016-08-22 11:06:18 -04:00
Stefan Johansson
abc62e705c 8163413: gc/metaspace/TestMetaspacePerfCounters failure
Reviewed-by: ehelin, dfazunen
2016-08-22 16:48:04 +02:00
Kirill Zhaldybin
d65aa31fd5 8164028: Convert TestPredictions_test to GTest
Reviewed-by: jwilhelm, dfazunen, ehelin
2016-08-22 16:43:56 +03:00
David Holmes
5f1f4489ac 8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
Remove atomic.inline.hpp and move the contents back into atomic.hpp

Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -04:00
Igor Veresov
a541c52612 Merge 2016-08-21 06:18:09 +02:00
Christian Tornqvist
31cc523eb2 8164521: compiler/rangechecks/TestRangeCheckSmearing.java is missing @build for sun.hotspot.WhiteBox
Reviewed-by: coleenp
2016-08-20 09:35:40 -04:00
Igor Veresov
06492bebc5 Merge 2016-08-19 18:51:15 -07:00
Igor Veresov
3f66df6bf7 Merge 2016-08-19 18:48:25 -07:00
Kim Barrett
f86e0c39e6 Merge 2016-08-19 23:57:42 +00:00
Igor Veresov
d39293e00f Merge 2016-08-19 15:29:57 -07:00
Alejandro Murillo
d1e4300765 Merge 2016-08-19 22:28:32 +00:00
Igor Veresov
40c7a36f94 Merge 2016-08-19 14:35:15 -07:00
Igor Veresov
2ad60b9910 Merge 2016-08-19 14:33:52 -07:00
Dmitrij Pochepko
1c5cc2ccdf 8139700: compiler/jvmci/compilerToVM/DisassembleCodeBlobTest and InvalidateInstalledCodeTest timeout
Reviewed-by: kvn
2016-08-20 00:15:45 +03:00
Coleen Phillimore
6b6510c34f Merge 2016-08-19 22:42:25 +02:00
Alejandro Murillo
93433f584e Merge 2016-08-19 12:17:31 -07:00
Coleen Phillimore
85381e59e5 8145964: NoClassDefFound error in transforming lambdas
Skip VM anonymous classes in retransformation and give an error for redefinition.

Reviewed-by: dholmes, dcubed, never
2016-08-19 14:54:31 -04:00
Karen Kinnear
6758f23018 Merge 2016-08-19 20:38:30 +02:00
Alejandro Murillo
fca083f9fd Merge 2016-08-19 11:22:14 -07:00
Christian Tornqvist
5868fdc4b7 Merge 2016-08-19 18:20:22 +02:00
Karen Kinnear
3b21f492f9 8163808: Fix asserts and logging for old classfile vtable construction
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Jesper Wilhelmsson
4fc1987255 8164124: [BACKOUT] G1 does not implement millis_since_last_gc which is needed by RMI GC
Reviewed-by: jprovino
2016-08-19 17:19:47 +02:00
Christian Tornqvist
ad85e18f23 8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:06:30 -04:00
Erik Joelsson
f05597d500 8164297: Jtreg test exeinvoke fails to link on Ubuntu
Reviewed-by: tbell, dholmes
2016-08-19 16:02:21 +02:00
Tobias Hartmann
ebb0356d35 8064892: Non-methods code cache overflow is not handled correctly
Should keep track of requested code blob type for error reporting. Added additional debug output.

Reviewed-by: kvn, dpochepk
2016-08-19 08:34:30 +02:00
Yasumasa Suenaga
7c11898ffe 8164319: CLHSDB dumpcodecache throws StackOverflowError
Reviewed-by: dholmes, dsamersoff
2016-08-19 01:20:39 -04:00
David Holmes
bc0d3d976b 8152849: share/vm/runtime/mutex.cpp:1161 assert(((uintptr_t(_owner))|(uintptr_t(_LockWord.FullWord))|(uintptr_t(_EntryList))|(uintptr_t(_WaitSet))|(uintptr_t(_OnDeck))) == 0) failed
Reviewed-by: dcubed
2016-08-18 21:37:26 -04:00
Lana Steuck
b8b0d54e93 Merge 2016-08-18 21:33:36 +00:00
Vladimir Kozlov
c6d82df571 8162496: missing precedence edge for anti_dependence
Fix Implicit Null Check optimization code.

Reviewed-by: roland, aph
2016-08-18 14:31:02 -07:00
Lana Steuck
692e9367d0 Added tag jdk-9+132 for changeset a11ec8919fef 2016-08-18 21:01:21 +00:00
Coleen Phillimore
663f12c18e 8037138: x86: problem with JVMTI breakpoint
Do aload(0) after rewriting aload bytecodes to fast version for frequent pairs.

Reviewed-by: dlong, dholmes, dcubed
2016-08-18 10:47:09 -04:00
Dmitry Samersoff
16509e9432 Merge 2016-08-18 11:11:40 +00:00
Dmitry Samersoff
e29ddeca2c 8157236: attach on ARMv7 fails with com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file
Add more diagnostic to attach code

Reviewed-by: dholmes, alanb
2016-08-18 14:07:00 +03:00
Dmitry Samersoff
c0cfad4f3d 8151345: compiler/codecache/jmx/PeakUsageTest.java is failing on jdk9/dev for JPRT -testset hotspot
Reviewed-by: sla, dsamersoff
2016-08-18 12:10:18 +03:00
Igor Ignatyev
c645d7bb87 8164035: compiler/profiling/spectrapredefineclass_classloaders/Launcher.java failing with Agent JAR not found or no Agent-Class attribute
Reviewed-by: kvn
2016-08-18 11:26:35 +03:00
Nils Eliasson
ee1cbde17b Merge 2016-08-17 22:34:33 +02:00
Vladimir Ivanov
e3d5b655af 8164103: C2: Broken cmpxchgb encoding on x86
Reviewed-by: kvn, shade, psandoz
2016-08-17 22:09:57 +03:00
Pavel Punegov
8474269d18 8156852: Convert JSON_test to Gtest
Convert test from InternalVMTests to Gtest

Reviewed-by: kvn, kzhaldyb
2016-08-17 18:48:34 +03:00
Hiroshi H Horii
4347d96655 8164920: ppc: enhancement of CRC32 intrinsic
Reviewed-by: goetz, mdoerr
2016-09-22 12:17:24 +02:00
Kishor Kharbas
f6ec56f5bb 8078122: YMM registers upper 128 bits may get clobbered by a JNI call on windows
Convert all XMM registers to be Save-on-Call on Win64.

Reviewed-by: kvn
2016-09-21 13:47:56 -07:00
Tobias Hartmann
466c23ffe0 8166046: [TESTBUG] compiler/stringopts/TestStringObjectInitialization.java fails with OOME
Reduced heap memory consumption of test.

Reviewed-by: kvn
2016-09-21 08:14:46 +02:00
Michael Berg
5b54998a23 8129376: SPECjvm98-client performance regression in 9-b66
Reviewed-by: kvn
2016-09-20 16:50:37 -07:00
Dean Long
e2e8ee17d0 Merge 2016-09-20 16:34:45 -04:00
Igor Ignatyev
f711aaa04c 8166164: compiler/compilercontrol/share/processors/LogProcessor.java does not close Scanner
Reviewed-by: kvn, ppunegov
2016-09-20 17:30:33 +03:00
Doug Simon
2c923c1c95 8165457: [JVMCI] increase InterpreterCodeSize for JVMCI
Reviewed-by: twisti
2016-09-19 13:26:37 -07:00
Vladimir Kozlov
de89ff8c55 8166096: variable tracking size limit exceeded in jvmciCompilerToVM.cpp
Turn off var-tracking-assignments for jvmciCompilerToVM.cpp

Reviewed-by: dlong
2016-09-16 21:10:56 -07:00
Doug Simon
037770a994 Merge 2016-09-14 19:55:08 +00:00
Doug Simon
d5ca7a299c 8165434: [JVMCI] remove uses of setAccessible
Reviewed-by: twisti, never
2016-09-14 12:34:37 -07:00
Vladimir Kozlov
5b7be48cdb Merge 2016-09-14 20:22:53 +02:00
Doug Simon
a83ab529f9 8165755: [JVMCI] replace use of vm_abort with vm_exit
Reviewed-by: dholmes
2016-09-14 05:48:18 -07:00
Goetz Lindenmaier
474c035379 8165235: [TESTBUG] RTM tests must check OS version
Also change enabling RTM on Aix to OS version 7.2.

Reviewed-by: simonis, fzhinkin
2016-09-01 16:47:53 +02:00
Gustavo Romero
c6be265b46 8164987: RTM jtreg tests failing due to unnamed module unable to access class jdk.internal.misc.Unsafe
Reviewed-by: kvn
2016-09-08 18:17:50 -04:00
Jamsheed Mohammed C M
4ae6ce2b44 8164508: unexpected profiling mismatch in c1 generated code
Made 8027631 first arg skip applicable to not inlined virtual callsite too.

Reviewed-by: kvn
2016-09-09 06:11:54 -07:00
Michael Berg
6384a5d55d 8165565: Shorten branches causes incorrect code for SKX
Don't replace restoreMask CountedLoopEnd with short branches.

Reviewed-by: kvn
2016-09-07 12:23:25 -07:00
Vivek Deshpande
d58e3e0324 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:17:50 -07:00
Tobias Hartmann
2eab293b99 Merge 2016-08-17 06:23:04 +00:00
Tobias Hartmann
be08874935 8164091: VM fails during startup with "assert(resolved_method->method_holder()->is_linked()) failed: must be linked"
Don't throw java_lang_VirtualMachineError during VM initialization.

Reviewed-by: zmajo, dlong, dholmes
2016-08-17 08:19:06 +02:00
Dean Long
28ccc9e20c Merge 2016-08-16 17:54:08 +00:00
Andrew Haley
ad3fc31b3d 8164113: AArch64: follow-up the fix for 8161598
Reviewed-by: dlong
2016-08-16 17:31:57 +01:00
Dean Long
6e820bb025 8161598: Kitchensink fails: assert(nm->insts_contains(original_pc)) failed: original PC must be in nmethod/CompiledMethod
Skip unwalkable frames in

Reviewed-by: fparain, coleenp, aph
2016-08-16 09:19:13 -07:00
Alejandro Murillo
72bb76c7d3 Merge 2016-08-16 08:08:00 -07:00
Harold Seigel
2a74c06b8d 8030221: Checking for anonymous class should check for NULL as well as potential nesting
Store the first non-anonymous class as the host when defining the anonymous class so don't need look for it later.

Reviewed-by: dholmes, lfoltan
2016-08-16 09:56:18 -04:00
Doug Simon
72dcc9193e 8163962: [JVMCI] integrate VarHandles
Add VarHandle support to JVMCI

Reviewed-by: psandoz, iveresov
2016-08-15 14:08:01 -07:00
Chris Plummer
e3c3a54f7a 8133740: NMT for Linux/x86/x64 and bsd/x64 slowdebug builds includes NativeCallStack::NativeCallStack() frame in backtrace
Skip an extra frame in _get_previous_fp() when it is not inlined.

Reviewed-by: dholmes, zgu
2016-08-15 13:14:08 -07:00
Chris Plummer
eabe746ff6 8133747: NMT includes an extra stack frame due to assumption NMT is making on tail calls being used
Better frame skipping logic in NativeCallStack::NativeCallStack.

Reviewed-by: dholmes, zgu
2016-08-15 13:13:48 -07:00
Chris Plummer
2a46a44214 8133749: os::current_frame() is not returning the proper frame on ARM and solaris-x64
Need to go up one extra frame to be consistent with other platforms.

Reviewed-by: dholmes, zgu
2016-08-15 13:06:50 -07:00
Erik Joelsson
d57ddc21e8 8069540: Remove universal binaries support from hotspot build
Reviewed-by: tbell, dholmes, dcubed
2016-08-15 16:15:16 +02:00
Nils Eliasson
61066d3795 8156659: assert(CodeCache::find_blob_unsafe(_pc) == _cb) failed: inconsistent
Stackwalking from corrupt frame

Reviewed-by: dlong, thartmann
2016-08-15 16:04:16 +02:00
Kirill Zhaldybin
fe2f936875 8163860: Convert TestOldFreeSpaceCalculation_test to GTest
Reviewed-by: iignatyev, dfazunen
2016-08-15 13:18:35 +03:00
Kim Barrett
ea503006dd 8155043: BitMap set operations assume clear bits beyond unaligned end
Be more circumspect in handling of sets with unaligned sizes.

Reviewed-by: stefank, jmasa
2016-08-14 21:19:42 -04:00
Alejandro Murillo
2d36c89f18 Merge 2016-08-12 13:58:14 -07:00
Michael Haupt
27eec4e5c6 8163533: jdk.vm.ci.hotspot.test.MethodHandleAccessProviderTest fails on jdk9/dev
Reviewed-by: shade
2016-08-12 08:59:20 -07:00
Igor Veresov
19d25373bf Merge 2016-08-11 16:22:08 -07:00
Daniel D. Daugherty
7cd5a9a0f4 Merge 2016-08-11 21:35:09 +02:00
Daniel D. Daugherty
d05e00ca76 8163879: quarantine serviceability/sa/sadebugd/SADebugDTest.java since it hangs intermittently
Reviewed-by: hseigel
2016-08-11 12:27:20 -07:00
Lana Steuck
7de6180d5c Merge 2016-08-11 17:02:27 +00:00
Lois Foltan
35c7012a32 Merge 2016-08-11 16:13:05 +00:00
Lana Steuck
a36c8263b4 Added tag jdk-9+131 for changeset 2bf4f6d6a72f 2016-08-11 15:47:07 +00:00
Lois Foltan
2579620b6d 8162553: Crash in class unloading due to null CLD having a zero _keep_alive value
Correct the refcounting of ClassLoaderData::_keep_alive for anonymous classes.

Reviewed-by: acorn, coleenp, dholmes, jiangli
2016-08-11 11:41:11 -04:00
Jini George
17c7042e60 8163143: illegal bci error with interpreted frames in SA due to mirror being stored in interpreted frames
Added code to represent the frame mirror offset in SA

Reviewed-by: dsamersoff
2016-08-11 17:47:25 +03:00
Yasumasa Suenaga
942ee05da5 8163580: Cannot get Monitor Cache Dump in HSDB
Reviewed-by: dholmes
2016-08-10 21:02:14 -04:00
Harold Seigel
d7ea24479b 8136930: Simplify use of module-system options by custom launchers
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Robbin Ehn
85d6f6505d 8161026: GPL header missing comma in year
Reviewed-by: sjohanss, redestad
2016-08-10 09:24:42 +02:00
Dmitrij Pochepko
5ae0aff787 8160299: Test8015436 doesn't check which method was executed
Reviewed-by: kvn
2016-08-09 16:47:47 +03:00
Yasumasa Suenaga
d68c6f28d4 8163185: jhsdb jstack cannot work with normal mode
Reviewed-by: dsamersoff, dholmes
2016-08-09 21:57:29 +09:00
Alejandro Murillo
dba428fb92 Merge 2016-08-12 14:12:55 -07:00
Frederic Parain
90db0f9ad7 8146697: VM crashes in test Test7005594
Reviewed-by: coleenp, dholmes
2016-08-12 08:46:17 -07:00
David Holmes
74e840d64c 8159461: bigapps/Kitchensink/stressExitCode hits assert: Must be VMThread or JavaThread
Reviewed-by: fparain, simonis, dcubed
2016-08-12 00:19:44 -04:00
Dmitrij Pochepko
dfce7d89bf 8163366: compiler/codecache/jmx/ThresholdNotificationsTest.java doesn't set -XX:+UnlockDiagnosticVMOptions while using WB
Reviewed-by: kvn
2016-08-09 14:17:28 +03:00
Dmitrij Pochepko
432e69e8fe 8160083: compiler.codecache.jmx.InitialAndMaxUsageTest can not be used w/ disabled SegmentedCodeCache
Reviewed-by: kvn
2016-08-09 14:16:44 +03:00
Dmitry Samersoff
4fc31a844d Merge 2016-08-08 15:53:02 +00:00
Doug Simon
e9ea1b08e8 8163105: SIGSEGV: constantPoolHandle::constantPoolHandle(ConstantPool*)
Simplify CompilerToVM.getConstantPool() and related tests.

Reviewed-by: kvn, zmajo
2016-08-08 17:06:21 +02:00
Sharath Ballal
bd4e4b5bfb 8163269: Testcase missed in push for JDK-8160817
Add missed testcase

Reviewed-by: dsamersoff
2016-08-08 17:15:46 +03:00
Yasumasa Suenaga
4d61582818 8163272: jhsdb jinfo cannot show system properties
Reviewed-by: dholmes, dsamersoff
2016-08-08 21:59:12 +09:00
Dmitrij Pochepko
91f0706600 8163243: [TESTBUG] compiler/codecache/jmx/UsageThresholdIncreasedTest.java failed with: Failed to find sun/hotspot/WhiteBox.class
Reviewed-by: iveresov
2016-08-08 11:30:46 +03:00
Igor Veresov
6ca8a98449 8163313: assert(comp != __null) failed: compiler not available
Constrain compLevel parameter in WB_IsIntrinsicAvailable() to supported levels

Reviewed-by: kvn
2016-08-06 11:52:37 -07:00
Igor Veresov
3c025b715c Merge 2016-08-05 13:37:53 -07:00
Alejandro Murillo
8857b866e7 Merge 2016-08-05 09:58:09 -07:00
Alejandro Murillo
22b49b9431 Merge 2016-08-05 09:50:25 -07:00
Dmitrij Pochepko
8d7182f2a7 8157498: compiler/codecache/jmx/InitialAndMaxUsageTest.java times out on 32-bit platforms
Reviewed-by: kvn
2016-08-05 16:23:44 +03:00
Dmitrij Pochepko
b06d871fad 8161279: Various JMX-tests timed out
Reviewed-by: kvn
2016-08-05 16:22:30 +03:00
Gustavo Romero
0052e8dc0b 8162369: PPC64: Wrong ucontext used after SIGTRAP while in HTM critical section
Reviewed-by: simonis
2016-08-04 22:42:05 -04:00
Chris Plummer
3a4f05d90c 8162670: make of jtreg_tests fails if no tests are run, causing jprt test runs to also fail
Clear the jtreg exit code when set to 1.

Reviewed-by: stsmirno, dholmes
2016-08-04 16:11:49 -07:00
Joe Darcy
4497988860 8163231: A couple of runtime tests failing for the -testset hotspot snapshot job
Reviewed-by: acorn
2016-08-04 15:52:14 -07:00
Max Ockner
3d98a46718 Merge 2016-08-04 23:17:33 +02:00
Coleen Phillimore
a4a281557d Merge 2016-08-04 19:50:23 +00:00
Max Ockner
aa9b6c16b6 Merge 2016-08-04 20:28:12 +02:00
Alejandro Murillo
bd20b32b64 Added tag jdk-9+130 for changeset af79a51e7d04 2016-08-04 17:32:52 +00:00
Gerald Thornbrugh
81b9b7b499 8162999: Build give extraneous find warnings
Removed JtregNative.gmk line that was part of a merger error

Reviewed-by: coleenp, fparain
2016-08-04 10:11:35 -07:00
Max Ockner
9465d5512a 8145543: JPRT jobs see intermittent failures in compiler/floatingpoint/ModNaN.java
Not reproducible due to glibc patch which affects current and previous versions. Removed @ignore for compiler/floatingpoint/ModNaN.java

Reviewed-by: coleenp, gtriantafill
2016-08-04 12:55:28 -04:00
Max Ockner
a9382b99be Merge 2016-08-04 18:34:40 +02:00
Max Ockner
d3e6075c94 8159917: Space character is missing in ClassLoaderData::print_value_on
Added missing space in ClassLoaderData::print_value_on

Reviewed-by: coleenp
2016-08-04 12:24:10 -04:00
Leonid Mesnik
127367ce74 8162852: Mark stress compiler and gc tests with stress keyword
Reviewed-by: kvn, tschatzl
2016-08-04 14:04:14 +03:00
Tobias Hartmann
af8e1270cb 8136818: Test compiler/arraycopy/TestEliminatedArrayCopyDeopt.java fails with "m1 failed"
Added missing Op_StoreB check to ArrayCopyNode::may_modify_helper().

Reviewed-by: kvn
2016-08-04 10:34:34 +02:00
Tobias Hartmann
13fca14037 8162881: Effect of -XX:CICompilerCount depends on ordering of other flags
Value of CICompilerCount should be range checked after ergo. Don't create C2 compiler threads with TieredStopAtLevel=1.

Reviewed-by: kvn
2016-08-04 08:58:22 +02:00
Igor Veresov
91de51fa9e Merge 2016-08-03 15:55:40 -07:00
Chris Plummer
f108319ee4 8161030: GPL header missing comma after year
Added comma.

Reviewed-by: coleenp, fparain
2016-08-03 13:56:27 -07:00
Tom Rodriguez
70110abb7a Merge 2016-08-03 15:52:38 +00:00
Coleen Phillimore
25e581d03d 8159284: bigapps/Jetty - assert(jfa->last_Java_sp() > sp()) failed with JFR in use
Test condition in assert in frame::safe_for_sender() for entry frames and return false.

Reviewed-by: mgronlun, fparain
2016-08-03 09:40:21 -04:00