937 Commits

Author SHA1 Message Date
Coleen Phillimore
5179fc3488 8139163: InstanceKlass::cast passes through NULL
Reduce raw (InstanceKlass*) casts and InstanceKlass::cast, which no long allows null

Reviewed-by: twisti, kbarrett
2015-10-26 13:11:36 -04:00
Goetz Lindenmaier
83b3b21342 8139040: Fix initializations before ShouldNotReachHere() etc. and enable -Wuninitialized on linux
Reviewed-by: stuefe, coleenp, roland
2015-10-22 13:07:10 -04:00
Joseph Provino
db5f26110b Merge 2015-10-20 11:17:19 -04:00
Dean Long
344a9becee Merge 2015-10-17 19:40:30 -04:00
Kim Barrett
4500c7fac8 8139341: Hide ExtendedOopClosure::_ref_processor
Make ExtendedOopClosure::_ref_processor private.

Reviewed-by: mgerdin, sjohanss
2015-10-16 14:55:09 -04:00
David Lindholm
a7d89b56a8 8139434: Unify GenRemSet and CardTableRS
Reviewed-by: jwilhelm, mgerdin
2015-10-14 09:33:45 +02: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
Christian Thalinger
16526e000e 8136421: JEP 243: Java-Level JVM Compiler Interface
Reviewed-by: ihse, alanb, roland, coleenp, iveresov, kvn, kbarrett
2015-10-08 12:49:30 -10:00
David Lindholm
1e71f67736 8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
2015-09-29 11:02:08 +02:00
Marcus Larsson
3c2211a492 8046148: JEP 158: Unified JVM Logging
Reviewed-by: coleenp, sla
2015-09-24 12:36:04 +02:00
Kim Barrett
b78e96713b 8136627: Backout JDK-8133818 Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Reviewed-by: brutisso
2015-09-16 16:25:02 +02:00
Y. Srinivas Ramakrishna
62ccb0305a 8133818: Additional number of processed references printed with -XX:+PrintReferenceGC after JDK-8047125
Test contributed by brutisso

Reviewed-by: tonyp, tschatzl
2015-09-02 11:56:10 +02:00
Stefan Johansson
dada9bc32c 8129417: Oop iteration clean-up to remove oop_ms_follow_contents
Reviewed-by: pliden, ehelin
2015-09-02 09:14:04 +02:00
Dmitry Samersoff
6ed285af0a Merge 2015-08-31 21:46:33 +03:00
Roland Westrelin
d791abc7e3 Merge 2015-08-27 18:51:22 +02:00
Jiangli Zhou
9ee2b211f9 8131734: assert(!is_null(v)) failed: narrow klass value can never be zero with -Xshared:auto
Handle shared string mapping failures.

Co-authored-by: Tom Benson <tom.benson@oracle.com>
Reviewed-by: tschatzl, kbarrett, ddmitriev, hseigel
2015-08-25 17:22:56 -04:00
Erik Helin
9bc2e29405 8133825: Remove the class G1CollectorPolicyExt
Reviewed-by: jwilhelm, ecaspole
2015-08-20 10:27:04 +02:00
Erik Helin
6ad40faac5 8133821: Refactor initialization of the heap and the collector policy
Reviewed-by: pliden, tschatzl
2015-08-20 08:42:25 +02:00
Vladimir Kozlov
ef827906e9 8133984: print_compressed_class_space() is only defined in 64-bit VM
Define method's empty body in 32-bit VM.

Reviewed-by: coleenp
2015-08-19 17:59:00 -07:00
Sangheon Kim
a13fe250b0 8130459: Add additional validation after heap creation
Some PLAB related flags' validation can happen after heap creation. Introduced additional stage of validation check.

Reviewed-by: coleenp, dholmes, kbarrett, gziemski, ecaspole, ddmitriev
2015-07-27 13:56:26 -07:00
Bertrand Delsart
5aec2dc9fc 8087333: Optionally Pre-Generate the HotSpot Template Interpreter
Optional support for pregenerated template interpreter

Reviewed-by: coleenp, dholmes, kvn
2015-07-01 10:53:26 +02:00
Bill Pittore
304b59b0c8 8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal

Reviewed-by: stefank, dholmes, kbarrett
2015-06-24 12:12:25 -04:00
Chris Plummer
c8b153a4e7 8087153: EXCEPTION_ACCESS_VIOLATION when CDS RO section vanished on win32
When mapping RW for debugging support, update space_info->read_only to reflect it is RW

Reviewed-by: dcubed, coleenp, iklam
2015-06-19 14:23:39 -07:00
Joseph Provino
ae6886e4d9 8085987: Vm crash "not long aligned" in nsk/stress/metaspace/jck60/jck6* tests
The word size being allocated needs to be rounded up.

Reviewed-by: jmasa, tbenson
2015-06-18 16:28:04 -04:00
Coleen Phillimore
eb02df173b Merge 2015-06-18 00:40:51 +00:00
Coleen Phillimore
ac072b303d 8098821: Crash in system dictionary initialization with shared strings
Map string regions after the compressed class base is known

Co-authored-by: Mikhailo Seledtsov <mikhailo.seledtsov@oracle.com>
Reviewed-by: iklam, dcubed
2015-06-17 21:44:48 +00:00
Tom Benson
8da14a64c8 8098815: Assertion failure in CDS shared string archive support on Windows
Check for a zero length before calling the G1 fill_archive_regions routine

Reviewed-by: coleenp, iklam, dcubed
2015-06-17 13:22:38 -07:00
Jiangli Zhou
edcd4cb94b 8015086: add interned strings to the shared archive
Support saving interned strings in shared CDS archive.

Reviewed-by: coleenp, iklam, pliden
2015-06-12 17:29:14 -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
Chris Plummer
c8c0356588 8054386: Allow Java debugging when CDS is enabled
Map archive RW when debugging is enabled

Reviewed-by: sspitsyn, iklam, mseledtsov, dholmes
2015-06-05 13:40:09 -07:00
Joseph Provino
3ab615bd2c 8081508: metaspace/shrink_grow/CompressedClassSpaceSize fails with OOM: Compressed class space
OOME is thrown even though there is metaspace available.

Reviewed-by: jmasa, kbarrett
2015-05-29 10:44:32 -04:00
Jesper Wilhelmsson
f9c99e1b3d Merge 2015-05-25 16:59:28 +02:00
Stefan Johansson
b04d2bca57 8080746: Refactor oop iteration macros to be more general
Reviewed-by: stefank, pliden
2015-05-25 11:39:43 +02:00
Jesper Wilhelmsson
25c41c6094 Merge 2015-05-21 21:17:56 +02:00
Jungwoo Ha
c0fcbe951e 8075288: malloc without free in VM_PopulateDumpSharedSpace::doit()
Reviewed-by: dholmes, stuefe
2015-05-19 01:34:53 -04:00
Stefan Karlsson
7ede39f590 8079275: Remove CollectedHeap::use_parallel_gc_threads
Reviewed-by: sjohanss, kbarrett
2015-05-04 15:02:37 +02:00
Jungwoo Ha
00f9d96a8b 8079091: Remove dictionary NULL check on common path of BlockFreeList methods
Reviewed-by: kbarrett, stefank, dholmes, jmasa
2015-05-01 10:51:00 -07:00
Jesper Wilhelmsson
ca69eddba5 Merge 2015-05-04 17:10:50 +02:00
Per Lidén
8986235472 8079148: Fix incorrect include guards
Reviewed-by: stefank, ehelin
2015-05-04 09:24:03 +02:00
Alejandro Murillo
d83bdb4157 Merge 2015-05-01 03:56:01 -07:00
Coleen Phillimore
01aedea8fc Merge 2015-04-29 02:35:29 +02:00
Coleen Phillimore
8a788d57db 8068352: Move virtualspace.* out of src/share/vm/runtime to memory directory
Move virtualspace.* out of src/share/vm/runtime to memory directory

Reviewed-by: brutisso, sgehwolf, stefank, sspitsyn
2015-04-28 16:46:39 -04:00
Yasumasa Suenaga
649f4e881e 8076212: AllocateHeap() and ReallocateHeap() should be inlined
NMT with detail option reports incorrect caller address on Linux.

Reviewed-by: dholmes, coleenp
2015-04-28 19:04:39 +09:00
Kim Barrett
878cf5e641 8031401: Remove unused code in the reference processor
Assume pending_list uses discovered field and remove resulting dead code.

Reviewed-by: brutisso, pliden
2015-04-23 11:26:32 -04:00
Per Lidén
e4a699552a 8068582: UseSerialGC not always set up properly
Reviewed-by: jmasa, brutisso, sjohanss
2015-04-20 08:53:08 +02:00
Bengt Rutisson
ed2ed17291 8077938: Remove TraceMarkSweep
Reviewed-by: sjohanss, jmasa
2015-04-17 08:09:41 +02:00
Per Lidén
4fbfdfe87b 8077417: Cleanup of Universe::initialize_heap()
Reviewed-by: stefank, kbarrett
2015-04-16 15:31:20 +02:00
Per Lidén
82de4945ac 8077415: Remove duplicate variables holding the CollectedHeap
Reviewed-by: stefank, kbarrett
2015-04-16 09:28:18 +02:00
Bengt Rutisson
8e2f1d5560 8077403: Remove guarantee from GenCollectedHeap::is_in()
Reviewed-by: mgerdin, jmasa
2015-04-14 11:24:03 +02:00
Stefan Karlsson
d71d16b043 8076457: Fix includes of inline.hpp in GC code
Reviewed-by: pliden, jmasa
2015-04-02 10:24:24 +02:00