2924 Commits

Author SHA1 Message Date
Harold Seigel
e1383d4931 8010943: guarantee(length == 0) failed: invalid method ordering length
Add DumpSharedSpaces to IF condition to handle verify during -Xshare:dump.

Reviewed-by: coleenp, zgu
2013-04-04 08:47:39 -04:00
Christian Tornqvist
c435269587 8009125: Add NMT tests for Virtual Memory operations
Tests added for Reserve/Commit/Uncommit/Unreserve operations

Reviewed-by: zgu, mgerdin
2013-04-03 21:41:33 +02:00
Zhengyu Gu
5fda3f38d9 Merge 2013-04-02 07:40:52 -07:00
Leonid Mesnik
a4300aa98b 8009763: Add WB test for String.intern()
Add convenience method in StringTable, add WhiteBox method and simple sanity test

Reviewed-by: mgerdin, zgu
2013-04-02 11:28:33 +02:00
Ioi Lam
ba2c11a93a 8011048: Possible reading from unmapped memory in UTF8::as_quoted_ascii()
Pass utf_length parameter to UTF8::as_quoted_ascii()

Reviewed-by: dcubed, minqi
2013-04-01 14:05:41 -07:00
Ioi Lam
cbe728a9bd 8010723: fatal error: acquiring lock Metaspace allocation lock/5 out of order
Avoid holding SystemDictionary_lock while calling Klass::remove_unshareable_info

Reviewed-by: coleenp, acorn
2013-03-31 21:43:10 -04:00
Daniel D. Daugherty
2484584e6d Merge 2013-03-29 08:38:00 -07:00
Bengt Rutisson
fe88c92e9e Merge 2013-03-28 09:07:44 +01:00
Yumin Qi
2c04384107 Merge 2013-03-28 00:44:15 -07:00
Zhengyu Gu
bd7432ce0b Merge 2013-03-27 22:05:21 -07:00
Yumin Qi
76cc94fb99 2178143: JVM crashes if the number of bound CPUs changed during runtime
Supply a new flag -XX:+AssumeMP to workaround the problem. With the flag is turned on, assume VM run on MP platform so is_MP() will return true that sync calls will not skip away.

Reviewed-by: dholmes, acorn, dcubed, jmasa
2013-03-27 17:03:19 -07:00
Karen Kinnear
8e1f6dce02 Merge 2013-03-27 16:31:00 -07:00
Zhengyu Gu
58042e4651 Merge 2013-03-27 13:07:41 -07:00
Zhengyu Gu
7363c58e32 8010474: [parfait] Undefined return value of the functions in hotspot/src/share/vm/services/memTracker.hpp
Fixed functions that miss return values

Reviewed-by: coleenp, acorn, kvn
2013-03-27 15:41:53 -04:00
Karen Kinnear
b79e2c6803 8009731: Confusing error message for loader constraint violation
Fix text, overwritten type and holder for resolved method

Reviewed-by: coleenp, dcubed, minqi, dholmes
2013-03-27 14:10:59 -04:00
Coleen Phillimore
878c7e4cd0 8009531: Crash when redefining class with annotated method
Neglected to copy the annotations in clone_with_new_data when they were moved to ConstMethod.

Reviewed-by: acorn, sspitsyn, dcubed
2013-03-27 08:19:50 -04:00
Erik Helin
cf6d13410c 8010818: NPG: Remove metaspace memory pools
Reviewed-by: mgerdin, stefank
2013-03-27 10:55:37 +01:00
Harold Seigel
a96ab956fa Merge 2013-03-26 12:43:32 -07:00
Joel Borggren-Franck
ee3ea81f65 8009382: Add JVM_Get{Field|Method}TypeAnnotations
Reviewed-by: dcubed, rbackman
2013-03-26 15:00:34 +01:00
Harold Seigel
feec2af7b4 8009595: The UseSplitVerifier option needs to be deprecated
Put UseSplitVerifier option on the deprecated list.

Reviewed-by: dcubed, kmo, acorn
2013-03-26 09:06:16 -04:00
Bharadwaj Yadavalli
0e9d409036 8009552: test/vm/verifier/TestStaticIF.java failing with hs25.0-b
Remove support for verification of class files with version 52 and above from type inference verifier.

Reviewed-by: acorn, hseigel
2013-03-25 09:36:15 -07:00
Harold Seigel
41f0004e4f 8010667: Non-zero padding is not allowed in splitverifier for tableswitch/lookupswitch instructions
Don't check the padding bits if class file version is >= 51.

Reviewed-by: kvn, dholmes, coleenp
2013-03-25 08:37:28 -04:00
Stefan Karlsson
bed324d7f9 Merge 2013-03-25 11:00:19 +01:00
Daniel D. Daugherty
05b3bc59c3 Merge 2013-03-23 22:35:02 -07:00
Vladimir Danushevsky
85009b165f Merge 2013-03-22 17:23:31 -07:00
Stefan Karlsson
85a6adbce2 Merge 2013-03-22 12:32:09 -07:00
Erik Helin
902be4665b 8000754: NPG: Implement a MemoryPool MXBean for Metaspace
Reviewed-by: jmasa, stefank
2013-03-22 16:10:01 +01:00
Joseph Provino
7db9e6c7cc Merge 2013-03-22 10:09:47 -04:00
Stefan Karlsson
2f7b91d2f5 Merge 2013-03-22 10:32:21 +01:00
Morris Meyer
8d607b2446 Merge 2013-03-21 21:48:56 -07:00
Morris Meyer
6c55facb77 8009593: [parfait] Null pointer deference in hotspot/src/share/vm/oops/constantPool.cpp
Added guarantee() to print_entry_on()

Reviewed-by: kvn
2013-03-21 10:13:56 -07:00
Zhengyu Gu
661b263eb2 Merge 2013-03-21 06:53:53 -07:00
Mikael Gerdin
6bec5bf02c 8004241: NPG: Metaspace occupies more memory than specified by -XX:MaxMetaspaceSize option
Enforce MaxMetaspaceSize for both metaspace parts, check MaxMetaspaceSize against "reserved", not "capacity"

Reviewed-by: jmasa, johnc
2013-03-21 09:07:43 +01:00
Ron Durbin
a003234ac8 8010396: checking MallocMaxTestWords in testMalloc() function is redundant
Remove redundant checks in testMalloc and add assert.

Reviewed-by: dcubed, coleenp, dholmes
2013-03-20 20:44:54 -07:00
Tao Mao
0268771fc4 7196080: assert(max_heap >= InitialHeapSize) in arguments.cpp
Remove the related assertions becasue they do not hold here.

Reviewed-by: jmasa, tschatzl
2013-03-20 12:27:03 -07:00
Karen Kinnear
6009be79b3 Merge 2013-03-20 12:20:10 -04:00
Karen Kinnear
cfb7431cca 8010017: lambda: reflection get(Declared)Methods support for default methods
Don't expose vm generated overpass (bridges to default methods).

Reviewed-by: dholmes, fparain
2013-03-20 11:43:56 -04:00
Morris Meyer
a62f572a50 8009181: [parfait] Null pointer deference in hotspot/src/share/vm/opto/loopTransform.cpp
Add guarantee() to insert_pre_post_loops()

Reviewed-by: kvn
2013-03-20 07:05:40 -07:00
Zhengyu Gu
b799726f35 8009298: NMT: Special version of class loading/unloading with runThese stresses out NMT
8009777: NMT: add new NMT dcmd to control auto shutdown option

Added diagnostic VM option and DCmd command to allow NMT stay alive under stress situation

Reviewed-by: dcubed, coleenp
2013-03-20 09:42:48 -04:00
Morris Meyer
09098aff2f 8009578: [parfait] Null pointer deference in hotspot/src/share/vm/classfile/defaultMethods.cpp
Add guarantee() to disqualify_method()

Reviewed-by: kvn
2013-03-20 06:38:27 -07:00
Morris Meyer
5082c639fd 8009565: [partfait] Null pointer deference in hotspot/src/share/vm/ci/ciEnv.cpp
Add guarantee() to get_instance_klass_for_declared_method_holder()

Reviewed-by: kvn
2013-03-20 06:36:04 -07:00
Morris Meyer
eaa8ade37a 8009248: [parfait] Null pointer deference in hotspot/src/share/vm/code/compiledIC.cpp
Add guarantee() to set_to_interpreted()

Reviewed-by: kvn
2013-03-20 06:32:49 -07:00
Coleen Phillimore
e21f2d67e1 8008217: CDS: Class data sharing limits the malloc heap on Solaris
In 64bit VM move CDS archive address to 32G on all platforms using new flag SharedBaseAddress.  In 32bit VM set CDS archive address to 3Gb on Linux and let other OSs pick the address.

Reviewed-by: kvn, dcubed, zgu, hseigel
2013-03-20 08:04:54 -04:00
Morris Meyer
c3114a34ee Merge 2013-03-19 16:31:10 -07:00
Morris Meyer
25c4a7fccd 8008811: [parfait] Null pointer deference in hotspot/src/share/vm/opto/loopopts.cpp
Add guarantee() checks

Reviewed-by: kvn
2013-03-19 12:15:35 -07:00
Morris Meyer
c6d91fa2d9 8009022: [parfait] Null pointer deference in hotspot/src/share/vm/oops/generateOopMap.cpp
Add guarantee() checks to merge_state_into_bb()

Reviewed-by: kvn
2013-03-19 11:49:36 -07:00
Ron Durbin
f4bcfd04ca 7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out

Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.

Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07:00
Vladimir Kozlov
3679ebdd7d 8010222: 8007439 disabled inlining of cold accessor methods
Added missing parenthesis

Reviewed-by: jrose
2013-03-19 10:56:33 -07:00
John Cuthbertson
a8087d1cb6 8008301: G1: guarantee(satb_mq_set.completed_buffers_num() == 0) failure
If the marking stack overflows while the marking tasks are draining the SATB buffers, remark will exit with some SATB buffers left unprocessed. Relax the guarantee to allow for overflow.

Reviewed-by: jmasa, brutisso
2013-03-19 09:38:37 -07:00
Morris Meyer
7e6a92e08b 8008663: [parfait] Null pointer deference in hotspot/src/share/vm/compiler/compileBroker.cpp
Add NULL checks for compiler name

Reviewed-by: twisti, kvn
2013-03-19 07:23:29 -07:00