8647 Commits

Author SHA1 Message Date
Rickard Bäckman
5ce5d9f4cc Merge 2016-07-29 09:23:05 +02:00
Lois Foltan
6066d30e17 8160487: JVM should validate a module by checking for an instance of java.lang.reflect.Module
Correct the checking of an instance of java.lang.reflect.Module to validate a module

Reviewed-by: alanb, coleenp, redestad
2016-07-28 09:57:49 -04:00
Zoltan Majo
4f2663284a Merge 2016-07-28 08:19:35 +00:00
Dean Long
6376361bc9 8160742: Node::operator new invokes undefined behavior
Remove obsolete asserts

Reviewed-by: kvn
2016-07-27 10:56:01 -07:00
Karen Kinnear
d6207f6cf5 Merge 2016-07-27 13:33:52 +00:00
Karen Kinnear
9c928767ba 8162340: Better class stream parsing
Check platform and boot loader for java/* packages

Reviewed-by: lfoltan, coleenp, dholmes
2016-07-27 08:31:48 -04:00
Roland Westrelin
8d9c39fa52 8162384: Performance regression: bimorphic inlining may be bypassed by type speculation
When speculation fails at a call fallback to profile data at the call site

Reviewed-by: kvn
2016-07-27 12:33:33 +02:00
David Holmes
5c9019c64a 8140723: Remove source code conditionalized on JAVASE_EMBEDDED
Reviewed-by: twisti, fparain, cjplummer
2016-07-26 23:52:25 -04:00
Jiangli Zhou
5599ff5261 8156959: compiler/codecache/jmx/UsageThresholdExceededSeveralTimesTest.java fails with exit 134
Remove invalid assert in SensorInfo::process_pending_requests.

Reviewed-by: dholmes, coleenp
2016-07-26 17:25:58 -04:00
Lois Foltan
64f4953141 8154239: -Xbootclasspath/a breaks exploded build
Correct exploded modules build system class path search for the boot loader

Reviewed-by: acorn, ccheung, hseigel, jiangli
2016-07-26 10:29:27 -04:00
Thomas Schatzl
2313844e20 8161993: G1 crashes if active_processor_count changes during startup
Use the initial active processor count for memory initialization instead of the current active one.

Reviewed-by: dholmes, mgerdin
2016-07-26 11:04:20 +02:00
Thomas Schatzl
7c45404684 8147910: Cache initial active_processor_count
Introduce and initialize active_processor_count variable in VM.

Reviewed-by: dholmes, jprovino
2016-07-26 11:04:20 +02:00
Goetz Lindenmaier
ad6ab85840 8161907: adlc: Fix crash in cisc_spill_match if _rChild == NULL
Reviewed-by: kvn
2016-07-20 12:34:11 +02:00
Roland Westrelin
3636d8f3d5 8161147: jvm crashes when -XX:+UseCountedLoopSafepoints is enabled
Don't convert loop with safepoint on the backedge to Counted loop

Reviewed-by: kvn
2016-07-25 14:31:42 -07:00
Goetz Lindenmaier
da3339948e 8161258: Simplify including platform files
Include patform files with macros cpu_header() etc. Do various cleanups of macro usages. Remove _64/_32 from adlc generated files and platform .hpp files. Merge stubRoutines_x86*.hpp. Remove empty mutex_<os>* files.

Reviewed-by: dholmes, coleenp, kbarrett
2016-07-13 12:23:05 +02:00
Max Ockner
4945fbd459 8038332: The trace event vm/class/load is not always being sent
Added trace event vm/class/define

Reviewed-by: coleenp, egahlin, acorn
2016-07-25 09:40:31 -04:00
Brent Christian
c076e4284c 8161028: GPL header missing comma after year
Reviewed-by: dcubed
2016-07-22 10:15:42 -07:00
Erik Helin
b630a3ff47 8159464: DumpHeap.java hits assert in G1 code
Reviewed-by: mgerdin, tschatzl
2016-07-21 14:55:54 +02:00
Jini George
73a516d68e 8145627: sun.jvm.hotspot.oops.InstanceKlass::getSize() returns the incorrect size and has no test
Fix the size and add a test

Reviewed-by: sspitsyn
2016-07-22 02:36:39 -07:00
Alejandro Murillo
15fafcc1fc Merge 2016-07-22 04:05:04 +00:00
Alejandro Murillo
560886751b Merge 2016-07-21 20:09:19 -07:00
Alejandro Murillo
ff1f1235ab Merge 2016-07-21 19:50:41 -07:00
Calvin Cheung
0bcdf4f154 8161539: 8159666 breaks minimal VM
Replaces the shouldNotReachHere() with an assert

Reviewed-by: coleenp, dholmes, cjplummer, gziemski
2016-07-21 19:29:33 -07:00
Vladimir Ivanov
1208854be7 8155781: C2: opaque unsafe access triggers an assert
Reviewed-by: kvn, lmesnik, ppunegov
2016-07-21 20:18:11 +03:00
Jiangli Zhou
80a863b62a Merge 2016-07-19 22:14:22 +02:00
Jon Masamitsu
c59e7952f6 Merge 2016-07-19 19:05:06 +00:00
Jiangli Zhou
86d5566b41 Merge 2016-07-19 20:39:23 +02:00
Jiangli Zhou
6ed3f07f48 8141341: CDS should be disabled if JvmtiExport::should_post_class_file_load_hook() is true
Disable loading shared class if JvmtiExport::should_post_class_file_load_hook is true.

Reviewed-by: iklam, acorn, sspitsyn
2016-07-19 13:52:14 -04:00
Gerard Ziemski
f6975a2f65 8138760: [JVMCI] VM warning: Performance bug: SystemDictionary lookup_count=21831450 lookup_length=1275207287 average=58.411479 load=5.572844
Added debug details to the warning message.

Reviewed-by: dholmes, iklam, twisti
2016-07-19 11:00:45 -05:00
Thomas Schatzl
5075c7b9a0 8157459: G1 IHOP JFR event attribute with incorrect content type
Use PERCENTAGE instead of BYTES64 data type for the affected attributes.

Reviewed-by: ehelin, sangheki
2016-07-19 09:30:30 +02:00
Thomas Schatzl
ada5ab192f 8034842: Parallelize the Free CSet phase in G1
Reviewed-by: jmasa, ehelin
2016-07-19 10:31:41 +02:00
Mikael Gerdin
a40bbfadaf 8161027: GPL header missing comma after year
Reviewed-by: redestad, dholmes
2016-07-18 14:30:39 +02:00
Ivan Gerasimov
3b6a62c9dc 8160892: Race at the VM exit causes "WaitForMultipleObjects timed out"
Reviewed-by: dcubed, dholmes
2016-07-16 23:10:00 +03:00
Daniel D. Daugherty
9c028ad227 Merge 2016-07-15 18:09:33 +00:00
Alan Burlison
1075d11550 8160997: Solaris: deprecated <pwd.h> and <gid.h> interfaces should be replaced
Use final POSIX 1003.1c versions of getgrgid_r(), getgrnam_r(), getpwnam_r(), and getpwuid_r().

Reviewed-by: alanb, dcubed, simonis, dholmes
2016-07-15 09:36:28 -07:00
Alejandro Murillo
95fcb61b0b Merge 2016-07-15 09:10:36 -07:00
Alejandro Murillo
84a55fcca8 Merge 2016-07-15 09:05:33 -07:00
Thomas Schatzl
1244572841 8160897: Concurrent mark mark stack memory allocation leaks memory
Fix and clean up concurrent mark mark stack memory allocation.

Reviewed-by: jmasa, sangheki
2016-07-15 13:33:44 +02:00
Alejandro Murillo
cb8ce8788c Merge 2016-07-12 10:03:30 -07:00
Calvin Cheung
edbcea17d0 8159901: missing newline char in the exception messages in diagnosticArgument.cpp
Reviewed-by: fparain, egahlin, iklam
2016-07-13 18:26:51 -07:00
Michael Haupt
9d97255ffd 8161032: GPL header incorrect - address wrong - not swapped in licensee bundles
Reviewed-by: dholmes, kvn
2016-07-12 10:39:46 +02:00
Alejandro Murillo
7cd48c89d3 Merge 2016-07-08 12:12:54 -07:00
Richard Reingruber
aa7a85dcbf 8134434: JVM_DoPrivileged() fires assert(_exception_caught == false) failed: _exception_caught is out of phase
Explicitly set exception detected inside rethrow_C

Reviewed-by: goetz, sspitsyn
2016-07-13 10:51:19 +03:00
Jon Masamitsu
631036a07b 8155263: DisableStartThread should not be applied to GC worker threads
Reviewed-by: tschatzl, sangheki
2016-07-06 13:23:10 -07:00
Yasumasa Suenaga
c02ce6ab61 8153074: UL: Show output option in VM.log jcmd
Reviewed-by: dholmes, mlarsson
2016-07-06 20:58:08 +09:00
Serguei Spitsyn
2cede6dbc1 8159145: Add JVMTI function GetNamedModule
Introduce function GetNamedModule with a jtreg test coverage

Reviewed-by: alanb, ctornqvi, hseigel, jiangli, dholmes, dcubed
2016-07-09 19:20:38 -07:00
Alejandro Murillo
2557a71e8c Merge 2016-07-01 16:50:34 -07:00
Poonam Bajaj
a213803042 Merge 2016-07-01 23:11:45 +00:00
Poonam Bajaj
f97651b356 8064814: Print more helpful error message when getting OOM due to low Java Heap base when running with CompressedOops
Improve OOM error message

Reviewed-by: coleenp, dholmes
2016-07-01 12:51:29 -07:00
Christoph Langer
2fc575a095 8160565: AIX port: cleanup of libo4 wrapper stub
Reviewed-by: goetz, simonis
2016-07-01 11:29:55 +02:00