Jesper Wilhelmsson
82bdf29022
8157455: Convert TestOS_test to GTest
...
Reviewed-by: dholmes, rehn
2016-05-23 19:46:43 +02:00
Thomas Schatzl
317f1aa044
8157952: Parallelize Memory Pretouch
...
Use multiple threads to pretouch memory using -XX:+AlwaysPreTouch to use more memory bandwidth
Reviewed-by: jmasa, sangheki
2016-09-16 11:33:47 +02:00
Christian Tornqvist
f2dafaefc7
8163146: Remove os::check_heap on Windows
...
Reviewed-by: gtriantafill, coleenp, stuefe
2016-08-23 21:49:33 -04:00
David Holmes
5f1f4489ac
8157907: Incorrect inclusion of atomic.hpp instead of atomic.inline.hpp
...
Remove atomic.inline.hpp and move the contents back into atomic.hpp
Reviewed-by: stefank, pliden, simonis
2016-08-21 20:56:37 -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
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
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
Goetz Lindenmaier
8a945875b6
8159335: Fix problems with stack overflow handling
...
Reviewed-by: dlong, coleenp, mdoerr
2016-06-13 09:28:25 +02:00
Goetz Lindenmaier
618f5131e6
8156922: [ppc] Implement template interpreter stack overflow checks as on x86/sparc
...
Reviewed-by: dlong, dholmes, simonis, coleenp
2016-05-13 15:20:06 +02:00
Stefan Karlsson
cf254af2fb
8152491: Convert TracePageSizes to use UL
...
Reviewed-by: sjohanss, pliden
2016-04-12 07:17:44 +02:00
Daniel D. Daugherty
2e87e3178c
8152358: code and comment cleanups found during the hunt for 8077392
...
Reviewed-by: gthornbr, kvn, cvarming
2016-04-04 14:49:19 -07:00
Joseph Provino
5cef85023b
8132524: Missing includes to resourceArea.hpp
...
Files that use ResourceMark are missing the include of resourceArea.hpp
Reviewed-by: tschatzl, jwilhelm
2016-04-04 12:57:48 -04: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
Roger Riggs
50b82e8d5e
8149750: Decouple sun.misc.Signal from the base module
...
Reviewed-by: dholmes, chegar
2016-02-18 14:45:13 -05:00
Kirill Zhaldybin
75826ca4d5
8149184: os::is_server_class_machine() could return incorrect result if a host's cpu have a few logical cores
...
Reviewed-by: dsamersoff, dholmes
2016-02-08 18:26:27 +03:00
Joseph Provino
9288ff53e7
Merge
2016-01-07 21:10:28 +00:00
Andrew Haley
cee2a179e6
8143072: [JVMCI] Port JVMCI to AArch64
...
Reviewed-by: gdub, rschatz, twisti, kvn
2015-12-23 20:19:42 -10:00
Goetz Lindenmaier
b5bca5cc1b
8139864: Improve handling of stack protection zones
...
Reviewed-by: stuefe, coleenp, fparain
2015-12-20 10:37:23 -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
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
Jon Masamitsu
e62c706965
8133023: ParallelGCThreads is not calculated correctly
...
Reviewed-by: kbarrett, tschatzl, sangheki, dholmes
2015-11-24 15:56:40 -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
Rachel Protacio
e54bd838f9
8140348: Convert TraceSafepoint to Unified Logging
...
The former -XX:+TraceSafepoint flag is updated to the unified logging framework and is now replaced with -Xlog:safepoint in product mode.
Reviewed-by: coleenp, hseigel
2015-11-04 14:32:51 -05: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
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
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Dmitry Dmitriev
d364e5d191
8132892: Memory must be freed after calling Arguments::set_sysclasspath function
...
Free memory after calling set_sysclasspath
Reviewed-by: dholmes, dcubed
2015-08-09 13:38:24 +03: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
Jean-Francois Denise
aaac2cbb54
8080511: Refresh of jimage support
...
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: alanb, mchung, psandoz, acorn, lfoltan, ctornqvi
2015-06-25 18:25:19 +02: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
Kim Barrett
8098f06af1
8098517: Unprotected PrintMalloc in os::realloc
...
Also verify tty != NULL before printing.
Reviewed-by: dholmes
2015-06-15 01:38:42 -04: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
Christian Tornqvist
665eee5efe
8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
...
Reviewed-by: sla, dholmes, gtriantafill
2015-06-01 14:02:59 -07:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Jeremy Manson
0353353bde
8074895: os::getenv is inadequate
...
Reviewed-by: dholmes, coleenp
2015-03-30 17:32:18 -04:00
Harold Seigel
ce4261471b
8068687: Remove meta-index support and cleanup hotspot code for rt.jar etc in non-modular jdk image
...
Remove the meta-index code and rt.jar code and comments
Reviewed-by: mchung, gtriantafill
2015-02-17 13:19:23 -05:00
Jesper Wilhelmsson
8c8b13bf52
Merge
2015-01-19 15:52:56 +01: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
Christian Tornqvist
6173a83d5d
8058897: Unsafe.reallocateMemory() ignores -XX:MallocMaxTestWords setting
...
Reviewed-by: dcubed, dholmes
2015-01-08 11:40:36 -08: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
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
Christian Tornqvist
76971f377b
8058251: assert(_count > 0) failed: Negative counter when running runtime/NMT/MallocTrackingVerify.java
...
Fixed an issue when overflowing the MallocSite hash table bucket
Reviewed-by: coleenp, gtriantafill
2014-11-05 13:20:09 -08:00
Erik Helin
3eff7a8f64
8049864
: TestParallelHeapSizeFlags fails with unexpected heap size
...
Reviewed-by: sjohanss, jmasa
2014-06-24 15:50:50 +02:00
Zhengyu Gu
95216ecffe
8055289: Internal Error: mallocTracker.cpp:146 fatal error: Should not use malloc for big memory block, use virtual memory instead
...
Return NULL if memory allocation size is bigger than MAX_MALLOC_SIZE when NMT is on
Reviewed-by: coleenp, gtriantafill
2014-09-04 14:50:31 -04:00