Yumin Qi
c6aa9c656f
8003557: NPG: Klass* const k should be const Klass* k
...
With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
2013-05-10 08:27:30 -07:00
Stefan Karlsson
f0ae855b07
8013132: Add a flag to turn off the output of the verbose verification code
...
Reviewed-by: johnc, brutisso
2013-04-24 20:13:37 +02:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -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
John Cuthbertson
9c89e6d28a
8010463: G1: Crashes with -UseTLAB and heap verification
...
Some parts of the G1 heap can only be walked during a safepoint. Skip verifying these parts of the heap when verifying during JVM startup.
Reviewed-by: brutisso, tschatzl
2013-03-29 13:49:37 -07:00
Erik Helin
cf6d13410c
8010818: NPG: Remove metaspace memory pools
...
Reviewed-by: mgerdin, stefank
2013-03-27 10:55:37 +01:00
Erik Helin
902be4665b
8000754: NPG: Implement a MemoryPool MXBean for Metaspace
...
Reviewed-by: jmasa, stefank
2013-03-22 16:10:01 +01:00
Bengt Rutisson
c51ea967ce
8001049: VM crashes when running with large -Xms and not specifying ObjectAlignmentInBytes
...
Take the initial heap size into account when checking the heap size for compressed oops
Reviewed-by: jmasa, kvn, hseigel, ctornqvi
2013-03-12 08:33:57 +01:00
Bill Pittore
9cad40fca6
Merge
2013-02-07 16:05:48 -05:00
Harold Seigel
1831def9cc
8000968: NPG: UseCompressedKlassPointers asserts with ObjectAlignmentInBytes for > 32G CompressedOops
...
Pick a base that works for both CompressedOpps alignment and CompressedKlassPtrs alignment.
Reviewed-by: kvn, roland
2013-02-04 08:26:02 -05:00
Dean Long
0a2347e0ba
Merge
2013-01-27 01:07:09 -08:00
Joseph Provino
698fba94ef
8005915: Unify SERIALGC and INCLUDE_ALTERNATE_GCS
...
Rename INCLUDE_ALTERNATE_GCS to INCLUDE_ALL_GCS and replace SERIALGC with INCLUDE_ALL_GCS.
Reviewed-by: coleenp, stefank
2013-01-23 13:02:39 -05:00
Harold Seigel
68f3dd76c9
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems
...
Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
2013-01-17 10:25:16 -05:00
John Cuthbertson
6c0bf79f7a
Merge
2012-11-30 12:01:34 -08:00
Coleen Phillimore
7aa43fc5d8
8000662: NPG: nashorn ant clean test262 out-of-memory with Java heap
...
Add ClassLoaderData object for each anonymous class with metaspaces to allocate in.
Reviewed-by: twisti, jrose, stefank
2012-11-29 16:50:29 -05:00
John Cuthbertson
defec7ae16
Merge
2012-11-29 11:23:15 -08: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
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
Coleen Phillimore
ddec2a3aed
Merge
2012-11-16 09:19:12 -05:00
Harold Seigel
4aad9b74e7
8001471: Klass::cast() does nothing
...
Remove function Klass::cast() and calls to it.
Reviewed-by: dholmes, coleenp
2012-11-12 16:15:05 -05:00
Mikael Gerdin
14d6692461
7200229: NPG: possible performance issue exposed by closed/runtime/6559877/Test6559877.java
...
Reduce the amount of calls to ChunkManager verification code
Reviewed-by: jmasa, coleenp
2012-11-09 00:38:31 +01:00
Coleen Phillimore
5f4a2405a7
Merge
2012-10-15 22:33:19 -04:00
Gary Collins
3a32124e5c
Merge
2012-10-12 11:31:27 -07:00
Gary Collins
ad3844358d
Merge
2012-10-12 10:49:39 -07:00
Vladimir Kozlov
5f132a5ec3
Merge
2012-10-12 09:22:52 -07:00
Harold Seigel
6b158b4089
7199068: NPG: SharedSkipVerify is meaningless
...
Remove the SharedSkipVerify flag
Reviewed-by: kamg, sspitsyn, coleenp
2012-10-10 17:04:33 -04: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
Roland Westrelin
61eb5a0549
7054512: Compress class pointers after perm gen removal
...
Support of compress class pointers in the compilers.
Reviewed-by: kvn, twisti
2012-10-09 10:11:38 +02:00
Coleen Phillimore
28047d6a0f
8000213: NPG: Should have renamed arrayKlass and typeArrayKlass
...
Capitalize these metadata types (and objArrayKlass)
Reviewed-by: stefank, twisti, kvn
2012-09-29 06:40:00 -04:00
Coleen Phillimore
9a271f468a
7197269: NPG: FollowReferences has no ClassLoader -> Class link to follow
...
Restore java/lang/ClassLoader.addClass() upcall
Reviewed-by: sspitsyn, dcubed, jmasa
2012-09-17 10:46:59 -04:00
Coleen Phillimore
6fda647450
7196103: NPG: Unable to allocate bit map for parallel garbage collection for the requested heap size
...
Don't allocate huge class metaspace size by default on x64
Reviewed-by: stefank, jmasa, kvn
2012-09-07 16:42:25 -04:00
Coleen Phillimore
12b9a4edbb
7195833: NPG: Rename instanceClassLoaderKlass, instanceRefKlass and instanceMirrorKlass
...
Simple renaming to be consistent with instanceKlass->InstanceKlass renaming
Reviewed-by: stefank, jmasa
2012-09-07 12:04:16 -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
Bengt Rutisson
f695b75d78
4988100: oop_verify_old_oop appears to be dead
...
Removed oop_verify_old_oop and allow_dirty. Also reviewed by: alexlamsl@gmail.com
Reviewed-by: jmasa, jwilhelm
2012-04-16 08:57:18 +02:00
Tom Rodriguez
520f6fcc87
7145537: minor tweaks to LogEvents
...
Reviewed-by: kvn, twisti
2012-02-15 10:12:55 -08:00
Antonios Printezis
44b419af51
7099849: G1: include heap region information in hs_err files
...
Reviewed-by: johnc, brutisso, poonam
2011-11-08 00:41:28 -05:00
Antonios Printezis
81bdd2ccc6
7088680: G1: Cleanup in the G1CollectorPolicy class
...
Removed unused fields and methods, removed the G1CollectoryPolicy_BestRegionsFirst class and folded its functionality into the G1CollectorPolicy class.
Reviewed-by: ysr, brutisso, jcoomes
2011-10-14 11:12:24 -04: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
Christian Thalinger
e3342531b4
7083184: JSR 292: don't store context class argument with call site dependencies
...
Reviewed-by: jrose, never
2011-08-29 05:07:35 -07:00
Christian Thalinger
134c40b4db
7071653: JSR 292: call site change notification should be pushed not pulled
...
Reviewed-by: kvn, never, bdelsart
2011-08-16 04:14:05 -07:00
John Cuthbertson
b94d0b830c
7004681: G1: Extend marking verification to Full GCs
...
Perform a heap verification after the first phase of G1's full GC using objects' mark words to determine liveness. The third parameter of the heap verification routines, which was used in G1 to determine which marking bitmap to use in liveness calculations, has been changed from a boolean to an enum with values defined for using the mark word, and the 'prev' and 'next' bitmaps.
Reviewed-by: tonyp, ysr
2011-06-14 11:01:10 -07:00
Tom Rodriguez
6e8a263a06
7017732: move static fields into Class to prepare for perm gen removal
...
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
Tom Rodriguez
f5ef48f3b9
7028374: race in fix_oop_relocations for scavengeable nmethods
...
Reviewed-by: kvn
2011-03-18 15:52:42 -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
Vladimir Kozlov
9fd396ce55
7006505: Use kstat info to identify SPARC processor
...
Read Solaris kstat data to get more precise CPU information
Reviewed-by: iveresov, never, twisti, dholmes
2010-12-16 14:15:12 -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
Igor Veresov
15c6dde68a
Merge
2010-11-19 17:01:34 -08:00
Y. Srinivas Ramakrishna
9af444d011
7000578: CMS: assert(SafepointSynchronize::is_at_safepoint()) failed: Else races are possible
...
Weakened assert in onj_is_alive() to allow its use at initialization time when is_at_safepoint() normally reports false; added some related asserts to check order of is_init_completed() after Universe::is_fully_initialized().
Reviewed-by: jcoomes
2010-11-16 13:58:48 -08:00
Vladimir Kozlov
d563b15558
6999491: non-zero COOPs are used when they should not
...
HeapBaseMinAddress should be used only for a default heap size calculation.
Reviewed-by: iveresov, jcoomes, dholmes
2010-11-12 09:51:43 -08:00