Commit Graph

12078 Commits

Author SHA1 Message Date
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