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
Markus Grönlund
de7ab979ec
8158033: Notify_tracing() misplaced for intended purpose
...
Reviewed-by: egahlin, dholmes
2016-06-13 11:48:11 +02:00
Igor Ignatyev
66686b8152
8149591: Prepare hotspot for GTest
...
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Stefan Sarne <stefan.sarne@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Alexandre Iline <alexandre.iline@oracle.com>
Reviewed-by: jwilhelm
2016-05-09 14:15:39 +03:00
Stefan Karlsson
f78228b2ee
8153967: Remove top.hpp
...
Reviewed-by: coleenp, jwilhelm
2016-04-12 09:53:43 +02:00
Thomas Stuefe
3487b38cc4
8148425: strerror() function is not thread-safe
...
Reviewed-by: dholmes, coleenp
2016-03-12 08:35:05 +01:00
Markus Grönlund
0e44e963d2
8143226: Minor updates to Event Based tracing
...
Reviewed-by: jbachorik, egahlin
2016-03-01 23:46:09 +01:00
Jesper Wilhelmsson
40c4fe8573
Merge
2016-02-03 01:35:25 +01: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
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
Cheleswer Sahu
ae7369442a
8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
...
Reviewed-by: dholmes, sla
2015-12-09 15:31:25 +05:30
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
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
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
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