Marcus Larsson
3c2211a492
8046148: JEP 158: Unified JVM Logging
...
Reviewed-by: coleenp, sla
2015-09-24 12:36:04 +02: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
Ioi Lam
bbe6f51f81
8046070: Class Data Sharing clean up and refactoring
...
Cleaned up CDS to be more configurable, maintainable and extensible
Reviewed-by: dholmes, coleenp, acorn, mchung
2014-08-12 17:29:00 -07:00
Zhengyu Gu
f0cf82f571
8046598: Scalable Native memory tracking development
...
Enhance scalability of native memory tracking
Reviewed-by: coleenp, ctornqvi, gtriantafill
2014-08-07 12:18:58 -07:00
Mikael Gerdin
a52fd3388d
8037959: BitMap::resize frees old map before copying memory if !in_resource_area
...
Add reallocate functionality to ArrayAllocator and use it from BitMap::resize
Reviewed-by: brutisso, tschatzl
2014-04-02 14:17:34 +02:00
Vladimir Kozlov
5117e1a805
Merge
2014-02-19 12:08:49 -08:00
Vladimir Kozlov
c3a0e80e0b
Merge
2014-01-28 12:25:34 -08:00
Jesper Wilhelmsson
81ba2e32c0
8025856: Fix typos in the GC code
...
Fix about 440 typos in comments in the VM code
Reviewed-by: mgerdin, tschatzl, coleenp, kmo, jcoomes
2014-01-23 14:47:23 +01:00
Coleen Phillimore
469f290817
8029178: Parallel class loading test anonymous-simple gets SIGSEGV in Metaspace::contains
...
Metaspace::contains cannot look at purged metaspaces while CMS concurrently deallocates them.
Reviewed-by: mgerdin, sspitsyn, jmasa
2014-01-07 13:26:56 -05:00
Vladimir Kozlov
39b0e57fdd
Merge
2013-11-05 17:38:04 -08:00
Vladimir Kozlov
1a700c9216
Merge
2013-09-05 11:04:39 -07:00
Lois Foltan
fca9e37c80
8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
...
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification
Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
David Simms
618cb11a73
8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
...
Return NULL on OOM from GetStringChars, GetStringUTFChars and Get<PrimitiveType>ArrayElements family of functions.
Reviewed-by: dholmes, coleenp
2013-08-26 09:33:01 +02:00
Goetz Lindenmaier
fac7ee02c5
8023033: PPC64 (part 13): basic changes for AIX
...
Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.).
Reviewed-by: kvn, dholmes, stefank
2013-08-22 09:39:54 -07:00
Ioi Lam
1958240c6f
8016903: Thread::_handle_area initial size too big
...
Changed initial size to Chunk::tiny_size (216 bytes)
Reviewed-by: coleenp, dholmes, sspitsyn
2013-07-08 10:58:48 -07:00
Alejandro Murillo
c2c1793452
Merge
2013-06-28 02:25:07 -07:00
Alejandro Murillo
2289eb801f
Merge
2013-06-25 12:46:21 -07:00
Coleen Phillimore
39a1c1d6c2
8016325: JVM hangs verifying system dictionary
...
Minimize redundant verifications of Klasses.
Reviewed-by: hseigel, jmasa
2013-06-24 18:55:46 -04:00
Erik Helin
774e23fae7
Merge
2013-06-20 10:03:58 +02:00
Chris Hegarty
748456a6d9
Merge
2013-06-19 11:02:10 +01:00
Bengt Rutisson
3cc79df807
8016556: G1: Use ArrayAllocator for BitMaps
...
Reviewed-by: tschatzl, dholmes, coleenp, johnc
2013-06-18 22:45:32 +02:00
Chris Hegarty
ae4642e749
Merge
2013-06-17 11:17:49 +01:00
Markus Grönlund
08f43d4379
8016105: Add complementary RETURN_NULL allocation macros in allocation.hpp
...
Reviewed-by: sla, rbackman
2013-06-15 13:17:36 +02:00
Staffan Larsen
718f3252f6
8005849: JEP 167: Event-Based JVM Tracing
...
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Bengt Rutisson <bengt.rutisson@oracle.com>
Co-authored-by: Calvin Cheung <calvin.cheung@oracle.com>
Co-authored-by: Erik Gahlin <erik.gahlin@oracle.com>
Co-authored-by: Erik Helin <erik.helin@oracle.com>
Co-authored-by: Jesper Wilhelmsson <jesper.wilhelmsson@oracle.com>
Co-authored-by: Keith McGuigan <keith.mcguigan@oracle.com>
Co-authored-by: Mattias Tobiasson <mattias.tobiasson@oracle.com>
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com>
Co-authored-by: Mikael Auno <mikael.auno@oracle.com>
Co-authored-by: Nils Eliasson <nils.eliasson@oracle.com>
Co-authored-by: Nils Loodin <nils.loodin@oracle.com>
Co-authored-by: Rickard Backman <rickard.backman@oracle.com>
Co-authored-by: Stefan Karlsson <stefan.karlsson@oracle.com>
Co-authored-by: Yekaterina Kantserova <yekaterina.kantserova@oracle.com>
Reviewed-by: acorn, coleenp, sla
2013-06-10 11:30:51 +02:00
Ioi Lam
9dc36eb923
8014912: Restore PrintSharedSpaces functionality after NPG
...
Added dumping of object sizes in CDS archive, sorted by MetaspaceObj::Type
Reviewed-by: coleenp, acorn
2013-05-28 16:36:19 -07:00
Chris Hegarty
988a08a49f
Merge
2013-05-23 12:44:18 +01:00
Yumin Qi
98151c30c8
8012902: remove use of global operator new - take 2
...
The fix of 8010992, disable use of global operator new and new[] which caused failure on some tests. This takes two of the bugs also add ALLOW_OPERATOR_NEW_USAGE to prevent crash for third party code calling operator new of jvm on certain platforms.
Reviewed-by: coleenp, dholmes, zgu
2013-05-14 09:41:12 -07:00
Chris Hegarty
7040795490
Merge
2013-05-01 14:11:01 +01:00
Harold Seigel
2a692f80bf
8011773: Some tests on Interned String crashed JVM with OOM
...
Instead of terminating the VM, throw OutOfMemoryError exceptions.
Reviewed-by: coleenp, dholmes
2013-04-29 16:13:57 -04:00
Daniel D. Daugherty
2cb874268e
Merge
2013-04-21 21:05:02 -07:00
Daniel D. Daugherty
138bab2963
8012907: anti-delta fix for 8010992
...
Anti-delta fix for 8010992 until 8012902 can be fixed
Reviewed-by: acorn, minqi, rdurbin
2013-04-21 20:41:04 -07:00
Daniel D. Daugherty
46b3969016
Merge
2013-04-19 16:51:27 -07:00
Yumin Qi
735ab2cd1c
8010992: Remove calls to global ::operator new[] and new
...
Disable use of global operator new and new[] which could cause unexpected exception and escape from NMT tracking.
Reviewed-by: coleenp, dholmes, zgu
2013-04-19 11:08:52 -07:00
David Chase
55c4ce1ca1
7104565: trim jprt build targets
...
Remove JPRT debug builds, remove -DDEBUG -DFASTDEBUG and use ASSERT instead in sources
Reviewed-by: dholmes, kvn, coleenp
2013-04-12 15:53:30 -07:00
Bengt Rutisson
4a685f181b
7197666: java -d64 -version core dumps in a box with lots of memory
...
Allow task queues to be mmapped instead of malloced on Solaris
Reviewed-by: coleenp, jmasa, johnc, tschatzl
2013-04-08 07:49:28 +02:00
Harold Seigel
455fd39d49
7158805: Better rewriting of nested subroutine calls
...
Reviewed-by: mschoene, coleenp
2013-03-07 11:49:38 -05:00
Christian Tornqvist
111ddcc827
8005012: Add WB APIs to better support NMT testing
...
Add WB API functions to enable better NMT testing
Reviewed-by: dholmes, zgu
2013-02-01 23:48:08 +01:00
Erik Helin
7fc460bae3
8004845: Catch incorrect usage of new and delete during compile time for value objects and stack objects
...
Makes the "new" and "delete" operator of _ValueObj and StackObj private
Reviewed-by: dholmes, coleenp
2012-12-17 15:25:26 +01:00
Coleen Phillimore
6538c5134b
8003635: NPG: AsynchGetCallTrace broken by Method* virtual call
...
Make metaspace::contains be lock free and used to see if something is in metaspace, also compare Method* with vtbl pointer.
Reviewed-by: dholmes, sspitsyn, dcubed, jmasa
2012-11-28 17:50:21 -05:00
Zhengyu Gu
3e481cdd81
7199092: NMT: NMT needs to deal overlapped virtual memory ranges
...
Enhanced virtual memory tracking to track committed regions as well as reserved regions, so NMT now can generate virtual memory map.
Reviewed-by: acorn, coleenp
2012-10-19 21:40:07 -04:00
Nils Loodin
953bec36ab
8000617: It should be possible to allocate memory without the VM dying
...
Reviewed-by: coleenp, kamg
2012-10-17 17:36:48 +02:00
Joseph Provino
c5eaaaa070
7189254: Change makefiles for more flexibility to override defaults
...
Change makefiles so that targets and parameters can be overridden by alternate makefiles.
Reviewed-by: dholmes, coleenp
2012-10-10 14:35:58 -04: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
Zhengyu Gu
a39b17624a
6995781: Native Memory Tracking (Phase 1)
...
7151532: DCmd for hotspot native memory tracking
Implementation of native memory tracking phase 1, which tracks VM native memory usage, and related DCmd
Reviewed-by: acorn, coleenp, fparain
2012-06-28 17:03:16 -04:00
Tom Rodriguez
e3afdf10ad
7088955: add C2 IR support to the SA
...
Reviewed-by: kvn
2011-09-11 14:48:24 -07:00
Zhengyu Gu
865413485d
7036747: 7017009 reappeared, problem with ElfStringTable
...
Created new "new" operator for CHeapObj that allows malloc to fail without causing fatal error. Also replaced "HeapAllocate" with "os::malloc" in decoder code to allow decoder to handle low memory scenario.
Reviewed-by: coleenp, dholmes
2011-04-27 09:09:57 -04:00
Keith McGuigan
380d90b364
6878713: Verifier heap corruption, relating to backward jsrs
...
Added overflow detection in arena Amalloc methods
Reviewed-by: coleenp, phh
2011-03-02 08:18:35 -05:00
Vladimir Kozlov
b9633d42b4
7017124: Fix some VM stats to avoid 32-bit overflow
...
Added new method inc_stat_counter() to increment long statistic values and use atomic long load and store.
Reviewed-by: dholmes, jrose, phh, never
2011-02-07 10:34:39 -08:00
Vladimir Kozlov
19a01fed97
6993125: runThese crashes with assert(Thread::current()->on_local_stack((address)this))
...
Add another ResourceObj debug field to distinguish garbage
Reviewed-by: dholmes, coleenp
2010-12-10 14:14:02 -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