8979 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
f03ab592cc 8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative
Reviewed-by: dcubed
2016-09-01 18:02:13 -04: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
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
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
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
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