149 Commits

Author SHA1 Message Date
Marcus Larsson
17dce93f31 8145934: Make ttyLocker equivalent for Unified Logging framework
Reviewed-by: rprotacio, stuefe, jrose
2016-05-09 15:46:12 +02:00
Goetz Lindenmaier
dafa24689b 8154921: Fix aix after "8146879: Add option for handling existing log files in UL"
Rename os::fileno to os::get_fileno because AIX defines macro 'fileno'.

Reviewed-by: coleenp
2016-04-22 14:57:18 +02:00
Stefan Karlsson
e0d0903059 Merge 2016-04-12 09:08:48 +00:00
Stefan Karlsson
f78228b2ee 8153967: Remove top.hpp
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Stefan Karlsson
cf254af2fb 8152491: Convert TracePageSizes to use UL
Reviewed-by: sjohanss, pliden
2016-04-12 07:17:44 +02:00
Marcus Larsson
8b2f63bd2b 8146879: Add option for handling existing log files in UL
Reviewed-by: dsamersoff, gziemski, rehn
2016-04-11 12:22:09 +02:00
Jesper Wilhelmsson
b7ca1e57ee Merge 2016-03-23 23:36:29 +01:00
Alan Bateman
f30fc1c88b 8142968: Module System implementation
Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282

Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Christian Tornqvist <christian.tornqvist@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: George Triantafillou <george.triantafillou@oracle.com>
Co-authored-by: Igor Ignatyev <igor.ignatyev@oracle.com>
Co-authored-by: Ioi Lam <ioi.lam@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jean-Francois Denise <jean-francois.denise@oracle.com>
Co-authored-by: Jiangli Zhou <jiangli.zhou@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Staffan Larsen <staffan.larsen@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: acorn, ccheung, coleenp, ctornqvi, dholmes, dsimms, gtriantafill, iklam, jiangli, mgronlun, mseledtsov, cjplummer, sspitsyn, stefank, twisti, hseigel, lfoltan, alanb, mchung, dfazunen
2016-03-17 19:04:01 +00:00
Thomas Stuefe
3487b38cc4 8148425: strerror() function is not thread-safe
Reviewed-by: dholmes, coleenp
2016-03-12 08:35:05 +01:00
Thomas Schatzl
94c75d0f00 8151414: os::pretouch_memory should take void* instead of char*
Change parameters and remove associated casts.

Reviewed-by: pliden, stefank
2016-03-09 09:56:10 +01:00
Robbin Ehn
a81f4a10da 8148219: Add decorator hostname to UL
Reviewed-by: dholmes, mlarsson
2016-02-17 11:11:47 +01:00
Jesper Wilhelmsson
54d0181916 Merge 2016-01-14 17:36:29 +01:00
Coleen Phillimore
5d7f8cf015 8146410: Interpreter functions are declared and defined in the wrong files
Moved functions to the correct files.

Reviewed-by: goetz, aph, twisti, mockner
2016-01-12 13:14:41 -05:00
Joseph Provino
9288ff53e7 Merge 2016-01-07 21:10:28 +00:00
Christian Thalinger
9e981ee107 Merge 2015-12-18 12:39:02 -08:00
Thomas Stuefe
0eda47f124 8145114: const-correctness for ucontext_t* reading functions
Reviewed-by: dholmes, coleenp
2015-12-14 02:29:11 -05:00
Frederic Parain
ef800bd53f 8046936: JEP 270: Reserved Stack Areas for Critical Sections
Reviewed-by: acorn, dcubed
2015-12-11 09:07:07 -08:00
Christian Thalinger
bf5db72254 8134994: use separate VMStructs databases for SA and JVMCI
Reviewed-by: kbarrett
2015-12-14 17:02:02 -10: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
Thomas Stuefe
9e9eac05ae 8143291: Remove redundant coding around os::exception_name
Reviewed-by: dholmes, coleenp
2015-12-01 21:30:34 -05: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
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
Rachel Protacio
54f5cc46d7 8138916: Logging write function does not allow for long enough messages
The unified logging framework's vwrite function is updated to allow strings longer than 512 characters, for the sake of messages of non-pre-determined length.

Reviewed-by: coleenp, dsamersoff, mlarsson
2015-11-04 17:18:59 -05: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
Coleen Phillimore
24c0f4e471 8026324: hs_err improvement: Add summary section to hs_err file
8026333: hs_err improvement: Print GC Strategy
8026336: hs_err improvement: Print compilation mode, server, client or tiered

Added command line, summary cpu and os information to summary section.  Moved time of crash and duration in summary section.  Add GC strategy and compiler setting (tiered) to enhanced version string in error report.  Moved the stack trace sooner in hs_err file.

Reviewed-by: dholmes, ctornqvi, ddmitriev
2015-07-22 00:03:45 -04:00
Coleen Phillimore
2a2b10342e Merge 2015-06-17 15:45:43 +00:00
Coleen Phillimore
29a1b9c2ed 8085865: hs_err improvement: Printing /proc/cpuinfo makes too long hs_err files
Summarize information from linux-x86; it's too long and redundant

Reviewed-by: gtriantafill, dholmes, mgerdin, dcubed
2015-06-17 11:30:51 -04:00
Bertrand Delsart
a6a13b5344 8079473: allow demangling to be optional in dll_address_to_function_name
Add a demangling boolean argument to dll_address_to_function_name and decode

Reviewed-by: dholmes, simonis
2015-06-16 11:58:25 +02:00
Coleen Phillimore
9e5e7f9e5a 8035074: hs_err improvement: Add time zone information in the hs_err file
8026335: hs_err improvement: Print exact compressed oops mode and the heap base value
8026331: hs_err improvement: Print if we have seen any OutOfMemoryErrors or StackOverflowErrors

Add requested things to hs_err file.

Reviewed-by: ctornqvi, dholmes
2015-06-09 10:26:25 -04:00
Yumin Qi
d30de5ab31 8074354: Make CreateMinidumpOnCrash a new name and available on all platforms
Rename CreateMinidumpOnCrash which is used only for Windows as CreateCoredumpOnCrash and make it available for all platforms. Changed order for dumping core on Windows to be similar on other platforms. Also reviewed by thomas.stuefe@gmail.com

Co-authored-by: Thomas Stuefe <thomas.stuefe@gmail.com>
Reviewed-by: dcubed
2015-04-15 17:34:28 -07:00
Jeremy Manson
0353353bde 8074895: os::getenv is inadequate
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Vladimir Kozlov
239370b736 Merge 2015-02-26 10:56:54 -08:00
Yumin Qi
49d48d3c4a Merge 2015-01-29 03:54:44 +00:00
Daniel Fuchs
967c448681 8068730: Increase the precision of the implementation of java.time.Clock.systemUTC()
Changes the implementation of java.time.Clock.systemUTC() to take advantage of the maximum resolution of the underlying native clock on which System.currentTimeMillis() is based.

Reviewed-by: dholmes, rriggs, scolebourne, sla
2015-01-28 17:52:48 +01:00
Vladimir Kozlov
5f8d6ce7b6 Merge 2015-01-20 15:24:58 -08:00
Erik Helin
86f95c464f 8066875: VirtualSpace does not use large pages
Reviewed-by: stefank, tschatzl, anoll, thartmann
2015-01-16 10:29:12 +01:00
Thomas Schatzl
f2e110fe77 8067469: G1 ignores AlwaysPreTouch
Factor out pretouch code of the various virtual space management classes and use them everywhere including in G1.

Reviewed-by: stefank, ehelin, dholmes
2014-12-18 09:37:02 +01:00
Vladimir Kozlov
48b6c6007f Merge 2014-12-11 15:06:12 -08:00
Andrew Haley
0b30e012ee 8064611: AARCH64: Changes to HotSpot shared code
Everything except cpu/ and os_cpu/

Reviewed-by: dholmes, goetz, dlong, coleenp, kvn
2014-12-11 13:11:53 -08:00
Alejandro Murillo
db929c3598 Merge 2014-12-05 16:36:07 -08:00
Chris Hegarty
393a39afe3 8049367: Modular Run-Time Images
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:21:14 +00:00
Max Ockner
91dbd4f088 8060074: os::free() takes MemoryTrackingLevel but doesn't need it
Cleaned up unused arguments in os::free and it's callers.

Reviewed-by: lfoltan, coleenp, ctornqvi, dholmes
2014-12-01 12:16:15 -05:00
Chris Plummer
7a414a2c7d 8043770: File leak in MemNotifyThread::start() in hotspot.src.os.linux.vm.os_linux.cpp
Fixed by removing all code related to LowMemoryProtection, which removed offending code.

Reviewed-by: dholmes, minqi
2014-11-05 13:00:59 -08:00
Frederic Parain
209ffcd9a5 8061618: Removed unused networking functions from os class
Reviewed-by: lfoltan, hseigel, dholmes
2014-10-22 02:31:25 -07:00
Jesper Wilhelmsson
e97944b0b1 Merge 2014-09-18 19:41:50 +02:00
Ioi Lam
9fe35127c2 Merge 2014-09-12 14:05:28 -07:00
Niclas Adlertz
d348978bc1 Merge 2014-09-12 09:17:58 +02:00
Ivan Gerasimov
497f5c44a6 8057744: (process) Synchronize exiting of threads and process [win]
Reviewed-by: dholmes, dcubed, sla
2014-09-10 09:52:41 -07:00
David Holmes
eb8950df45 8056183: os::is_MP() always reports true when NMT is enabled
Reviewed-by: shade, coleenp, bdelsart
2014-09-10 00:44:16 -04:00
Aleksey Shipilev
13329b5040 8050147: StoreLoad barrier interferes with stack usages
Reviewed-by: jrose, kvn, drchase
2014-09-04 13:11:25 +04:00