646 Commits

Author SHA1 Message Date
Artem Smotrakov
395a248587 8148005: One byte may be corrupted by get_datetime_string()
Reviewed-by: dholmes
2016-02-04 13:42:18 -08:00
Erik Helin
00aa34d788 8148844: Update run_unit_test macro for InternalVMTests
Reviewed-by: sjohanss, david
2016-02-04 14:06:43 +01:00
Jesper Wilhelmsson
40c4fe8573 Merge 2016-02-03 01:35:25 +01:00
Tobias Hartmann
832443d3b0 Merge 2016-01-28 09:49:17 +01:00
Tobias Hartmann
2beba05b8b Merge 2016-01-26 09:11:58 +01:00
Goetz Lindenmaier
4e99638d69 8147937: Adapt SAP copyrights to new company name
Reviewed-by: simonis, stuefe
2016-01-21 12:37:47 +01:00
Daniel D. Daugherty
8411cfaf4e Merge 2016-01-20 14:11:25 -08:00
Alejandro Murillo
7300cb856d 8146653: Debug version missing in hs_err files and on internal version after Verona
Reviewed-by: dcubed, dholmes
2016-01-19 18:39:23 -08:00
Mikael Gerdin
3cda485fe5 8148481: Devirtualize Klass::vtable
Move remainder of vtable related methods to Klass

Reviewed-by: cjplummer, coleenp
2016-01-19 12:07:32 +01:00
Erik Helin
f646b9fac7 8147012: Fix includes in internalVMTests.cpp
Reviewed-by: stefank, mgerdin
2016-01-19 11:00:29 +01:00
Erik Helin
75f5093aa1 8146994: Move internal vm tests to a separate file
Reviewed-by: coleenp, stefank, kbarrett, mikael
2016-01-14 15:09:11 +01:00
Coleen Phillimore
f8800caf4f Merge 2016-01-14 16:26:38 -05:00
Jesper Wilhelmsson
54d0181916 Merge 2016-01-14 17:36:29 +01:00
David Holmes
f16c6f2d9f 8077648: ARM: BREAKPOINT is wrong for thumb
Reviewed-by: dlong
2016-01-14 01:25:30 -05:00
Rachel Protacio
f4555ca41f 8144953: runtime/CommandLine/TraceExceptionsTest.java fails when exception is thrown in compiled code
Added long-form logging message to three places in code, allowing TraceExceptionsTest.java to pass with compiled code.

Reviewed-by: dholmes, coleenp, lfoltan
2016-01-12 12:35:08 -05:00
Vladimir Ivanov
281c7eb895 6985422: flush the output streams before OnError commands
Reviewed-by: kvn
2016-01-15 21:56:42 +03:00
Christian Thalinger
a0861106e3 Merge 2016-01-11 17:11:57 -08:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Goetz Lindenmaier
b26df6b69f 8146401: Clean up oop.hpp: add inline directives and fix header files
Reviewed-by: coleenp
2016-01-04 15:41:05 +01:00
Rachel Protacio
7973ef05b3 8141211: Convert TraceExceptions to Unified Logging
The -XX:+TraceExceptions flag has been updated to the unified logging framework, i.e. -Xlog:exceptions. The old flag, because it is product-level, has been aliased to the UL option.

Reviewed-by: dholmes, coleenp, mockner
2015-12-22 16:29:48 -05:00
Andrew Haley
c4a81b327d 8145096: Undefined behaviour in HotSpot
Fix some integer overflows

Reviewed-by: jrose, kvn, kbarrett, adinn, iklam
2015-12-21 16:58:29 +00:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Vladimir Ivanov
0e01750370 8133612: new clone logic added in 8042235 is missing from compiler intrinsics
Reviewed-by: roland
2015-12-18 20:23:28 +03:00
Vladimir Ivanov
a82be01120 8071374: -XX:+PrintAssembly -XX:+PrintSignatureHandlers crash fastdebug VM with assert(limit == __null || limit <= nm->code_end()) in RelocIterator::initialize
Reviewed-by: kvn, iklam, shade
2015-12-18 20:23:26 +03:00
Bengt Rutisson
ffeb0bdad0 8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david.

Co-authored-by: David Lindholm <david.lindholm@oralce.com>
Reviewed-by: sjohanss, david, brutisso
2015-12-10 14:57:55 +01:00
Nils Eliasson
8c0ad215bc 8144246: adding lots of directives via jcmd may produce OOM crash
Add a limit to the number of directives

Reviewed-by: kvn
2015-12-16 15:38:28 +01:00
Christian Thalinger
bf5db72254 8134994: use separate VMStructs databases for SA and JVMCI
Reviewed-by: kbarrett
2015-12-14 17:02:02 -10:00
Coleen Phillimore
97e169ac77 8145628: hotspot metadata classes shouldn't use HeapWordSize or heap related macros like align_object_size
Use align_metadata_size, align_metadata_offset and is_metadata_aligned for metadata rather than align_object_size, etc.  Use wordSize rather than HeapWordSize for metadata.  Use align_ptr_up rather than align_pointer_up (all the related functions are ptr).

Reviewed-by: hseigel, jmasa, cjplummer
2016-01-30 11:02:29 -05:00
Kim Barrett
ec7fb4ee2b 8146793: logStream::write re-formats string
Eliminate re-format, add warning attribute, fix size check, fix va_list usage.

Reviewed-by: mlarsson, rprotacio, jrose
2016-01-29 20:57:09 -05:00
Thomas Stuefe
480e92f8b5 8146905: cleanup ostream, staticBufferStream
Get rid of staticBufferStream and implement the use-caller-provided-scratch-buffer feature in a simpler way.

Reviewed-by: simonis, dholmes
2016-01-27 11:51:56 +01:00
Marcus Larsson
127158a210 8147348: LogTagLevelExpression not properly initialized in configure_stdout
Reviewed-by: brutisso, sla
2016-01-27 09:07:10 +01:00
Matthias Baesken
e95747daf1 8145740: Visual Studio pragmas should be guarded by ifdef _MSC_VER
Reviewed-by: simonis, dholmes
2016-01-26 21:18:08 -05:00
Cheleswer Sahu
ae7369442a 8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
Reviewed-by: dholmes, sla
2015-12-09 15:31:25 +05:30
Markus Grönlund
2ad9d3192f 8140485: Class load and creation cleanup
Reviewed-by: hseigel, coleenp, sspitsyn
2015-12-08 20:04:03 +01:00
Thomas Stuefe
6996edcbb5 8144219: [posix] Remove redundant code around os::print_siginfo()
For posix platforms, consolidate os::print_siginfo() in os_posix.cpp and remove cds fault special handling

Reviewed-by: dholmes, simonis
2015-12-09 14:56:02 +01:00
Ioi Lam
39cd64080e 8144491: ElfSymbolTable::lookup returns bad value when the lookup has failed
Reviewed-by: dcubed, stefank
2015-12-02 06:00:18 -08:00
David Holmes
6e0ea9d21c 8132510: Replace ThreadLocalStorage with compiler/language-based thread-local variables
Used compiled-based TLS when available. Additional contributions by Thomas Stufe (AIX) and Andrew Haley (Aarch64)

Reviewed-by: stuefe, bdelsart, dcubed
2015-12-04 04:06:37 -05:00
Coleen Phillimore
f3c2ec63b4 Merge 2015-11-26 00:00:25 +00:00
Coleen Phillimore
a210245805 Merge 2015-11-25 16:13:14 +00:00
Sebastian Sickelmann
4699c70e25 8136978: Much nearly duplicated code for vmError support
Moved all non os specific code in vmError_[os].cpp to vmError_posix.cpp, moved os specific code to os_[os].cpp and refactored all other references accordingly

Reviewed-by: stuefe, coleenp, dholmes
2015-11-25 16:33:28 +01:00
Thomas Schatzl
48264e4686 8136678: Implement adaptive sizing algorithm for IHOP
Add adaptive sizing for IHOP that maximizes throughput (starts marking as late as possible). This functionality is enabled using a new -XX:+G1AdaptiveIHOP switch (default: false).

Reviewed-by: mgerdin, jmasa, pliden
2015-11-24 10:35:52 +01:00
Jiangli Zhou
4bea0af9ab Merge 2015-11-19 19:26:51 -05:00
David Holmes
3904de571b 8139300: Internal Error (vm/utilities/debug.cpp:399), # Error: ShouldNotReachHere()
Reviewed-by: simonis, dcubed
2015-11-16 18:50:55 -05:00
Coleen Phillimore
57ee6fa3ab 8027429: Add diagnostic command VM.info to get hs_err print-out
Refactored hs_err reporting code so that it can be used for VM.info safely

Co-authored-by: David Buck <david.buck@oracle.com>
Reviewed-by: dholmes, hseigel
2015-11-13 16:50:39 -05:00
Joseph Provino
539395ffbf Merge 2015-11-11 23:47:41 +00:00
Nils Eliasson
3307d0f163 Merge 2015-11-06 11:34:03 +01:00
Jesper Wilhelmsson
1a5787d42e Merge 2015-11-05 19:31:57 +01:00
Tobias Hartmann
7af927f9c1 8141132: JEP 254: Compact Strings
Adopt a more space-efficient internal representation for strings.

Co-authored-by: Brent Christian <brent.christian@oracle.com>
Co-authored-by: Vivek Deshpande <vivek.r.deshpande@intel.com>
Co-authored-by: Charlie Hunt <charlie.hunt@oracle.com>
Co-authored-by: Vladimir Kozlov <vladimir.kozlov@oracle.com>
Co-authored-by: Roger Riggs <roger.riggs@oracle.com>
Co-authored-by: Xueming Shen <xueming.shen@oracle.com>
Co-authored-by: Aleksey Shipilev <aleksey.shipilev@oracle.com>
Co-authored-by: Sandhya Viswanathan <sandhya.viswanathan@intel.com>
Reviewed-by: alanb, bdelsart, coleenp, iklam, jiangli, jrose, kevinw, naoto, pliden, roland, smarks, twisti
2015-11-03 09:41:03 +01:00
Goetz Lindenmaier
3b8c97faae 8140482: Various minor code improvements (runtime)
Reviewed-by: dholmes, coleenp, sspitsyn, dsamersoff
2015-10-26 16:21:37 +01:00
Thomas Schatzl
a6231d3f70 8141134: Remove unnecessary pragma warning(disable:4355) from GC code
Reviewed-by: ehelin, simonis, stuefe
2015-11-04 17:36:29 +01:00