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
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
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
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
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
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
Dean Long
206767c0a2
Merge
2015-10-27 01:45:01 -04:00
Nils Eliasson
5a5faf94bf
8137167: JEP165: Compiler Control: Implementation task
...
Compiler Control JEP
Reviewed-by: roland, twisti, zmajo, simonis
2015-10-20 18:07:28 +02:00
Joseph Provino
db5f26110b
Merge
2015-10-20 11:17:19 -04:00
Dean Long
344a9becee
Merge
2015-10-17 19:40:30 -04:00
Zoltan Majo
703c1c58d7
8139380: VMError::report_and_die() does not produce replay file
...
Change VMError::report() to use a correct format string in both JVMCI-enabled builds and builds without JVMCI.
Reviewed-by: roland, kvn
2015-10-16 15:21:37 +02:00
Poonam Bajaj
a25ce80e78
8136577: Make AbortVMOnException available in product builds
...
Reviewed-by: coleenp
2015-10-14 15:36:41 -07:00
Goetz Lindenmaier
4aad17f807
8139116: Fixes for warning "format not a string literal"
...
Reviewed-by: ddmitriev, david, simonis
2015-10-09 16:39:37 +02:00
Coleen Phillimore
5179fc3488
8139163: InstanceKlass::cast passes through NULL
...
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null
Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Coleen Phillimore
f1e89ea4cc
8140274: methodHandles and constantPoolHandles should be passed as const references
...
Modified code to use const reference parameters
Reviewed-by: sspitsyn, twisti
2015-10-23 16:48:38 -04:00
David Lindholm
5770f4eb32
8042893: compiler: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
...
8042894: runtime: PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC needs to be removed from source files
Reviewed-by: goetz, brutisso
2015-10-09 09:42:33 +02:00
Goetz Lindenmaier
56d0ec1e1a
8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
...
Also fix one problematic format on ppc.
Reviewed-by: david, simonis
2015-10-02 11:46:42 +02:00
Daniel D. Daugherty
3a93c5efe8
Merge
2015-10-07 22:54:08 +00:00