George Triantafillou
1ba9657a1c
8134432: [TESTBUG] Rewrite test/runtime/6888954/vmerrors.sh in Java
...
Reviewed-by: ddmitriev, ctornqvi, coleenp
2015-10-07 11:37:46 -04:00
David Lindholm
1e71f67736
8080775: Better argument formatting for assert() and friends
...
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Kim Barrett
4bbbdd7aa6
8086027: Multiple STATIC_ASSERTs at class scope doesn't work
...
Make supporting typedef name unique via __LINE__ concatenation
Reviewed-by: dholmes, brutisso
2015-06-09 15:05:47 -04:00
Per Lidén
4dc240f785
8079792: GC directory structure cleanup
...
Reviewed-by: brutisso, stefank, david
2015-05-13 15:16:06 +02:00
Jesper Wilhelmsson
c1bc0a31b2
8074459: Flags handling memory sizes should be of type size_t
...
Changed the type to size_t for flags that handles memory sizes
Reviewed-by: kbarrett, tschatzl
2015-03-03 18:01:27 +01:00
Stefan Karlsson
ccb2f23f08
8073554: Remove unnecessary includes of markSweep[.inline].hpp
...
Reviewed-by: tschatzl, coleenp
2015-02-20 15:23:01 +01:00
Thomas Stuefe
3bd56fc1a6
8065895: Synchronous signals during error reporting may terminate or hang VM process
...
Reviewed-by: dholmes, gziemski
2015-02-04 18:47:42 -05:00
Kim Barrett
77f22c1241
8068396: Rename assert() to vmassert()
...
Macro renaming, with temporary old name synonyms for compatibilty
Reviewed-by: ehelin, dholmes, coleenp
2015-01-13 14:30:53 -05:00
Calvin Cheung
9000f8c3c7
8067187: -XX:MaxMetaspaceSize=20m -Xshare:dump caused JVM to crash
...
Added check for the MaxMetaspaceSize. If it is less than the estimated required size, print an error and exit.
Reviewed-by: jiangli, mseledtsov, stefank
2015-01-12 11:37:58 -08:00
Calvin Cheung
1aa3da1067
8038268: VM Crashes in MetaspaceShared::generate_vtable_methods while creating CDS archive with limiting SharedMiscCodeSize
...
Estimate the minimum required size for the misc code region and check if the specified misc code region size meets the minimum size requirement
Reviewed-by: jiangli, dholmes
2014-10-23 10:08:02 -07:00
Volker Simonis
a1628426d3
8058345: Refactor native stack printing from vmError.cpp to debug.cpp to make it available in gdb as well
...
Also fix stack trace on x86 to enable walking of runtime stubs and native wrappers
Reviewed-by: kvn
2014-09-24 12:19:07 -07:00
Goetz Lindenmaier
25f33c005d
8049325: Introduce and clean up umbrella headers for the files in the cpu subdirectories
...
Introduce and clean up umbrella headers for the files in the cpu subdirectories.
Reviewed-by: lfoltan, coleenp, dholmes
2014-07-04 11:46:01 +02:00
Goetz Lindenmaier
f2051ed6fa
8048241: Introduce umbrella header os.inline.hpp and clean up includes
...
Reviewed-by: coleenp, dholmes, lfoltan
2014-06-26 16:05:15 +02:00
Goetz Lindenmaier
8e7c8f1d88
8044775: Improve usage of umbrella header atomic.inline.hpp
...
Reviewed-by: stefank, kvn
2014-06-04 11:56:44 +02:00
Yumin Qi
1a3734cdfa
8043896: Error reporting for insufficient shared region size is incorrect
...
In SharedSpaceType, we have three enum types which are used in report_out_of_shared_space(SharedSpaceType type). In fact we supplied more than three messages and flags. This leads the warning always gives wrong message with the first not used.
Reviewed-by: iklam, coleenp
2014-05-27 21:58:23 -07:00
David Chase
305ec3bd3f
8037816: Fix for 8036122 breaks build with Xcode5/clang
...
Repaired or selectively disabled offending formats; future-proofed with additional checking
Reviewed-by: kvn, jrose, stefank
2014-05-09 16:50:54 -04:00
Daniel D. Daugherty
765f5cd4e7
8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
...
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Ron Durbin
441dc7c79b
7145527: sscanf must use a length in the format string
...
Remove dead code containing last call to scanf with no string length specifier
Reviewed-by: dcubed, coleenp
2013-05-17 08:51:46 -07:00
Calvin Cheung
0f7adcc3d9
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
...
Reviewed-by: coleenp, zgu, hseigel
2013-04-30 11:56:52 -07:00
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Niclas Adlertz
e6e67652d9
8010121: Remove definition of ShouldNotReachHere2(msg)
...
Reviewed-by: kvn, stefank, rbackman, twisti
2013-03-19 10:31:16 +01:00
Ron Durbin
9ff6dfb849
6799919: Recursive calls to report_vm_out_of_memory are handled incorrectly
...
Report_vm_out_of_memory() should allow VMError.report_and_die() to handle multiple out of native memory errors.
Reviewed-by: dcubed, dholmes, coleenp, acorn
2013-02-20 19:36:25 -08:00
Tao Mao
7cb614b0e5
8004132: SerialGC: ValidateMarkSweep broken when running GCOld
...
Remove bit-rotten ValidateMarkSweep functionality and flag.
Reviewed-by: johnc, jmasa
2013-01-02 11:32:41 -08:00
Stefan Karlsson
57204d9f34
8003935: Simplify the needed includes for using Thread::current()
...
Reviewed-by: dholmes, rbackman, coleenp
2012-11-27 14:20:21 +01:00
John Cuthbertson
9abdcd4a3c
8000831: Heap verification output incorrect/incomplete
...
Restore non-silent output of heap verification.
Reviewed-by: ysr, brutisso, jmasa
2012-10-15 10:02:42 -07:00
John Coomes
1743a11163
7199082: write warning messages to stderr
...
Reviewed-by: ysr, dholmes, sla
2012-09-20 16:27:51 -07:00
Jon Masamitsu
5c58d27aac
6964458: Reimplement class meta-data storage to use native memory
...
Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Mikael Gerdin <mikael.gerdin@oracle.com>
Co-authored-by: Tom Rodriguez <tom.rodriguez@oracle.com>
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
2012-09-01 13:25:18 -04:00
Vladimir Kozlov
5e05a0d592
7187454: stack overflow in C2 compiler thread on Solaris x86
...
Added new FormatBufferResource class to use thread's resource area for error message buffer.
Reviewed-by: twisti
2012-07-30 09:49:25 -07:00
Tom Rodriguez
520f6fcc87
7145537: minor tweaks to LogEvents
...
Reviewed-by: kvn, twisti
2012-02-15 10:12:55 -08:00
Tom Rodriguez
5a41427b37
7141200: log some interesting information in ring buffers for crashes
...
Reviewed-by: kvn, jrose, kevinw, brutisso, twisti, jmasa
2012-02-01 07:59:01 -08:00
Christos Zoulas
32708baef1
7098194: integrate macosx-port changes
...
Integrate bsd-port/hotspot and macosx-port/hotspot changes as of 2011.09.29.
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Victor Hernandez <vhernandez@apple.com>
Co-authored-by: Pratik Solanki <psolanki@apple.com>
Reviewed-by: kvn, dholmes, never, phh
2011-10-13 09:35:42 -07:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Tom Rodriguez
33f0e50994
7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
...
Reviewed-by: kvn, twisti
2011-05-02 18:53:37 -07:00
Erik Trimble
c9e484d473
7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Coleen Phillimore
7b4f8073f0
6990754: Use native memory and reference counting to implement SymbolTable
...
Move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Coleen Phillimore
dec384330b
6302804: Hotspot VM dies ungraceful death when C heap is exhausted in various places
...
Enhance the error reporting mechanism to help user to fix the problem rather than making it look like a VM error.
Reviewed-by: kvn, kamg
2011-01-03 14:09:11 -05:00
Christian Thalinger
ffaadcecea
6961690: load oops from constant table on SPARC
...
Oops should be loaded from the constant table of an nmethod instead of materializing them with a long code sequence.
Reviewed-by: never, kvn
2010-12-03 01:34:31 -08:00
Stefan Karlsson
8006fe8f75
6989984: Use standard include model for Hospot
...
Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
2010-11-23 13:22:55 -08:00
Keith McGuigan
da95f5319e
6392697: Additional flag needed to supress Hotspot warning messages
...
Apply PrintJvmWarnings flag to all warnings
Reviewed-by: coleenp, phh
2010-10-12 10:57:33 -04:00
Tomas Hurka
ce872b40fb
6765718: Indicate which thread throwing OOME when generating the heap dump at OOME
...
Emit a fake frame that makes it look like the thread is in the OutOfMemoryError zero-parameter constructor
Reviewed-by: dcubed
2010-09-11 08:18:31 +02:00
Bob Vandette
b95c7e9523
6953477: Increase portability and flexibility of building Hotspot
...
A collection of portability improvements including shared code support for PPC, ARM platforms, software floating point, cross compilation support and improvements in error crash detail.
Reviewed-by: phh, never, coleenp, dholmes
2010-08-03 08:13:38 -04:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
John Coomes
99196ff9ca
6888954: argument formatting for assert() and friends
...
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
2010-04-22 13:23:15 -07:00
John R Rose
e261aecad8
6863023: need non-perm oops in code cache for JSR 292
...
Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
John R Rose
4e2c4fb4bd
6770949: minor tweaks before 6655638
...
Minor cleanups & tuning of array.hpp, debug.cpp, growableArray.hpp, hashtable.cpp
Reviewed-by: kvn
2008-11-12 23:26:45 -08:00
Antonios Printezis
615777b6da
Merge
2008-08-21 23:36:31 -04:00
Erik Trimble
2d6f42d18c
Merge
2008-07-11 01:14:44 -07:00
Xiomara Jayasena
c96a95c4b8
6719955: Update copyright year
...
Update copyright year for files that have been modified in 2008
Reviewed-by: ohair, tbell
2008-07-02 12:55:16 -07:00
Poonam Bajaj
1f819855d5
6694099: Hotspot vm_exit_out_of_memory should dump core
...
This fix enables the generation of core file when process runs out of C-heap.
Reviewed-by: sbohne
2008-06-22 20:07:58 -07:00
Y. Srinivas Ramakrishna
18f3386a98
6711316: Open source the Garbage-First garbage collector
...
First mercurial integration of the code for the Garbage-First garbage collector.
Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
2008-06-05 15:57:56 -07:00