Rickard Bäckman
cd5cf59bae
4965252: JvmtiExport::post_raw_field_modification jni ref handling is odd
...
Reviewed-by: coleenp, sspitsyn
2013-05-15 11:30:54 +02:00
Thomas Schatzl
8d53e75550
6843347: Boundary values in some public GC options cause crashes
...
Setting some public integer options to specific values causes crashes or undefined GC behavior. This patchset adds the necessary argument checking for these options.
Reviewed-by: jmasa, brutisso
2013-05-15 11:05:09 +02:00
Yumin Qi
8218671461
Merge
2013-05-14 17:33:07 +00: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
Thomas Schatzl
9ce9586188
8014489: tests/gc/arguments/Test(Serial|CMS|Parallel|G1)HeapSizeFlags jtreg tests invoke wrong class
...
Some jtreg tests reference unknown classes in the @run and @build lines. This change fixes them.
Reviewed-by: stefank, ehelin
2013-05-14 17:08:31 +02:00
Harold Seigel
3aa20631a9
8014138: Add VM option to facilitate the writing of CDS tests
...
Added the -XX:SharedArchiveFile option.
Reviewed-by: coleenp, ccheung, acorn, dcubed, zgu
2013-05-14 09:17:52 -04:00
David Holmes
4661adb2d0
8014460: Need to check for non-empty EXT_LIBS_PATH before using it
...
Reviewed-by: tbell, collins, sla, coleenp
2013-05-14 07:24:50 -04:00
Aleksey Shipilev
b3675a00d9
8014448: Purge PrintCompactFieldsSavings
...
Remove obsolete debugging code.
Reviewed-by: dholmes, kvn
2013-05-14 11:34:30 +04:00
Vladimir Kozlov
2ed62e808c
8014286: failed java/lang/Math/DivModTests.java after 6934604 changes
...
Corrected escape state for the result of boxing method. Added force inlining executed boxing methods.
Reviewed-by: twisti
2013-05-13 14:36:39 -07:00
Christian Thalinger
2c7c39072c
Merge
2013-05-13 12:43:10 -07:00
Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Yumin Qi
9a1cd52a0f
Merge
2013-05-13 18:08:13 +00:00
Bengt Rutisson
d3a0a48fbb
8014339: Improve assert and remove some dead code from parMarkBitMap.hpp/cpp
...
Reviewed-by: stefank, tschatzl
2013-05-13 14:09:05 +02:00
Thomas Schatzl
9cfde1acc3
8014058: Regression tests for 8006088
...
The patch for 8006088 misses regression tests after a merge error, this CR provides them.
Reviewed-by: jwilhelm, tamao, jmasa
2013-05-13 09:45:33 +02:00
Rickard Bäckman
2d6560721c
Merge
2013-05-13 07:53:45 +02:00
Yumin Qi
9b052f6f3e
Merge
2013-05-10 19:30:12 +00:00
Alejandro Murillo
e732ebaa3e
8014279: new hotspot build - hs25-b33
...
Reviewed-by: jcoomes
2013-05-10 11:27:55 -07:00
Alejandro Murillo
0c58bd4bfd
Added tag hs25-b32 for changeset bc27a3d4b35f
2013-05-10 11:14:09 -07:00
Alejandro Murillo
711e6b8bd8
Merge
2013-05-10 11:14:08 -07:00
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
4562f6539d
Merge
2013-05-10 09:24:20 +02:00
Vladimir Kozlov
d7176bf7f8
8014189: JVM crash with SEGV in ConnectionGraph::record_for_escape_analysis()
...
Add NULL checks and asserts for Type::make_ptr() returned value.
Reviewed-by: twisti
2013-05-09 17:28:04 -07:00
Jiangli Zhou
fe9809cd8a
Merge
2013-05-09 16:27:51 -04:00
John Cuthbertson
c38f8fc543
7176479: G1: JVM crashes on T5-8 system with 1.5 TB heap
...
Refactor G1's hot card cache and card counts table into their own files. Simplify the card counts table, including removing the encoding of the card index in each entry. The card counts table now has a 1:1 correspondence with the cards spanned by heap. Space for the card counts table is reserved from virtual memory (rather than C heap) during JVM startup and is committed/expanded when the heap is expanded. Changes were also reviewed-by Vitaly Davidovich.
Reviewed-by: tschatzl, jmasa
2013-05-09 11:16:39 -07:00
David Katleman
02ee113df6
Added tag jdk8-b89 for changeset 67f1ddecad67
2013-05-09 10:03:35 -07:00
Jesper Wilhelmsson
3d6c526864
Merge
2013-05-09 12:23:43 +02:00
David Holmes
8d3d80dbc9
Merge
2013-05-08 21:06:46 -04:00
Jon Masamitsu
bbff951f67
8013184: CMS: Call reset_after_compaction() only if a compaction has been done
...
Reviewed-by: mgerdin, johnc, tschatzl
2013-05-08 17:12:52 -07:00
David Holmes
49173becc7
Merge
2013-05-08 19:38:41 -04:00
Aleksey Shipilev
c24b224166
8006997: ContendedPaddingWidth should be range-checked
...
Constrain between zero and 8K
Reviewed-by: dholmes, rbackman
2013-05-08 19:28:54 -04:00
Jon Masamitsu
973d0400c4
8013032: CMS: assert(used() == used_after_gc && used_after_gc <= capacity()) failed: used: 0 used_after_gc: 292080 capacity: 1431699456
...
Reviewed-by: tschatzl, mgerdin, johnc
2013-05-08 16:28:03 -07:00
Vladimir Kozlov
b4977e887a
6934604: enable parts of EliminateAutoBox by default
...
Resurrected autobox elimination code and enabled part of it by default.
Reviewed-by: roland, twisti
2013-05-08 15:08:01 -07:00
Bharadwaj Yadavalli
6b031570b6
8013875: Incorrect vtable index being set during methodHandle creation for static
...
Set vtable index as appropriate for static interface methods and for interface methods invoked via invokespecial. To be improved in a later enhancement to CallInfo.
Reviewed-by: jrose, twisti
2013-05-08 14:18:03 -07:00
Staffan Larsen
3ea303118f
Merge
2013-05-08 10:14:57 -04:00
Staffan Larsen
7a1ccbc48a
8013591: compiler/ciReplay/TestSA.sh fails in nightly
...
Reviewed-by: coleenp, rbackman, dholmes
2013-05-08 15:37:18 +02:00
Harold Seigel
dc96e028d2
8007018: RFE: -XX:+UseLargePages does not work with CDS
...
Remove command line restriction. It should just work.
Reviewed-by: ctornqvi, coleenp, dholmes
2013-05-08 08:20:45 -04:00
Rickard Bäckman
654953bc9a
8008255: jvmtiExport.cpp::post_to_env() does not check malloc() return
...
Reviewed-by: coleenp, dholmes, sla
2013-05-08 11:21:56 +02:00
Coleen Phillimore
83b5203953
Merge
2013-05-07 18:46:47 -07:00
Coleen Phillimore
c7e1bd3c28
Merge
2013-05-07 16:17:43 -07:00
Coleen Phillimore
32df114e2a
8014024: NPG: keep compiled ic methods from being deallocated in redefine classes
...
Walk the compiledIC relocation records to keep Method* from being deallocated.
Reviewed-by: dlong, kvn
2013-05-07 18:51:31 -04:00
Coleen Phillimore
c4285d8505
Merge
2013-05-07 14:30:11 -07:00
Christian Tornqvist
601071bc6d
8009577: Test test/closed/runtime/classunload broken
...
Fixed tests to use new way of utilizing the WB API, fixed issue with where custom classloader got the classes from
Reviewed-by: collins, mgerdin, zgu
2013-05-07 21:36:59 +02:00
Eric McCorkle
32fa61ad54
8009729: Refix hotspot jni_<cpu>.h JNIEXPORT and JNIIMPORT definitions to match jdk version
...
Update JNIEXPORT and JNIIMPORT to work with other compilers that don't necessarily have the __attribute__ type qualifier
Reviewed-by: dholmes, dcubed, coleenp
2013-05-07 13:45:59 -04:00
Vladimir Danushevsky
287a1617db
Merge
2013-05-07 10:36:20 -04:00
Bill Pittore
de01ed0a09
8013633: Cleanup platform ifdefs in unsafe.cpp
...
Replace ifdefs with SUPPORTS_NATIVE_CX8 set in platform include file
Reviewed-by: dholmes, dlong
2013-05-07 10:19:33 -04:00
Coleen Phillimore
8320660846
8013063: nsk/jvmti/RetransformClasses/retransform001 failed debug version on os::free
...
Clear out class_file_bytes so they aren't deallocated twice
Reviewed-by: dcubed, sspitsyn
2013-05-07 09:46:15 -04:00
Staffan Larsen
edf88d3db7
8005038: remove crufty '_g' support from SA
...
Reviewed-by: coleenp, mgronlun, rbackman
2013-05-07 14:33:09 +02:00
Staffan Larsen
fd1ead19be
8014044: Spelling error in JDK-8009615: boostrapmethod
...
Reviewed-by: sspitsyn, coleenp
2013-05-07 14:04:26 +02:00
Jiangli Zhou
7f4ae06bdb
Merge
2013-05-06 20:11:18 -07:00
Christian Thalinger
7c367a6025
8008772: remove gamma launcher
...
Reviewed-by: kvn, neliasso, ctornqvi
2013-05-06 19:49:23 -07:00
Jiangli Zhou
ba80b3e045
8013067: Zero builds are broken after 8010862
...
Fixed broken Zero build.
Reviewed-by: twisti, coleenp, kvn
2013-05-06 19:57:35 -04:00
Staffan Larsen
db19e8b60f
Merge
2013-05-07 01:25:21 +02:00
Christian Thalinger
149097fbb7
7196277: JSR 292: Two jck/runtime tests crash on java.lang.invoke.MethodHandle.invokeExact
...
Reviewed-by: jrose, kvn
2013-05-06 13:53:13 -07:00
Karen Kinnear
a37bc54517
Merge
2013-05-06 12:36:20 -07:00
Bengt Rutisson
a8ad116e49
8013872: G1: HeapRegionSeq::shrink_by() has invalid assert
...
Refactored shrink_by() to only use region counts and not byte sizes
Reviewed-by: johnc, tschatzl
2013-05-06 21:30:34 +02:00
Staffan Larsen
f4c589b895
8009615: JvmtiClassFileReconstituter does not create BootstrapMethod attributes
...
Reviewed-by: coleenp, sspitsyn
2013-05-06 19:49:18 +02:00
Karen Kinnear
409e738a07
Merge
2013-05-06 10:20:18 -07:00
Zhengyu Gu
ce1df81ab9
Merge
2013-05-06 08:49:38 -07:00
Thomas Schatzl
9b9b515fb8
8006088: Incompatible heap size flags accepted by VM
...
Make processing of minimum, initial and maximum heap size more intiutive by removing previous limitations on allowed values, and make error reporting consistent. Further, fix errors in ergonomic heap sizing.
Reviewed-by: johnc, jwilhelm, tamao
2013-05-06 17:19:42 +02:00
Zhengyu Gu
c2330eb6b1
8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check
...
Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it
Reviewed-by: acorn, coleenp
2013-05-06 11:15:13 -04:00
Harold Seigel
768a1b55cf
8013648: Guarantee(VerifyBeforeGC || VerifyDuringGC || VerifyBeforeExit || VerifyAfterGC) failed: too expensive
...
Fix code to call correct version of function find_class().
Reviewed-by: coleenp, rdurbin, dcubed
2013-05-06 09:10:21 -04:00
Jesper Wilhelmsson
0c4933f5b0
Merge
2013-05-06 13:03:46 +02:00
Bengt Rutisson
36c195270d
8013791: G1: G1CollectorPolicy::initialize_flags() may set min_alignment > max_alignment
...
Make sure max alignemnt is at least as large as min alignment
Reviewed-by: johnc, jmasa, tschatzl
2013-05-06 09:16:14 +02:00
Daniel D. Daugherty
79f4c78a72
Merge
2013-05-03 15:51:16 -07:00
Vladimir Kozlov
1763afaec5
Merge
2013-05-03 15:35:30 -07:00
Zhengyu Gu
5948d45dd8
Merge
2013-05-03 13:00:28 -07:00
Alejandro Murillo
5e8becfa39
8013800: new hotspot build - hs25-b32
...
Reviewed-by: jcoomes
2013-05-03 08:19:38 -07:00
Alejandro Murillo
73a8b2719a
Added tag hs25-b31 for changeset 62f2a12da171
2013-05-03 08:10:11 -07:00
Alejandro Murillo
ec847be4fa
Merge
2013-05-03 08:10:10 -07:00
Frederic Parain
7e7edc4cfa
Merge
2013-05-03 05:17:15 -07:00
Frederic Parain
7c2fb49608
8004095: Add support for JMX interface to Diagnostic Framework and Commands
...
Reviewed-by: acorn, sla
2013-05-03 05:05:31 -07:00
Staffan Larsen
1f2075c0e4
8013785: Respect EXTRA_CFLAGS on windows
...
Reviewed-by: mgronlun, rbackman, kvn
2013-05-03 12:26:15 +02:00
Staffan Larsen
cd65b9e32e
8008453: JvmtiClassFileReconstituter does not recognize default methods
...
Reviewed-by: acorn, sspitsyn
2013-05-03 12:24:11 +02:00
Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Calvin Cheung
f88c429a69
8012641: Perf_CreateLong creates perf counter of incorrect type
...
Reviewed-by: mchung, hseigel, coleenp
2013-05-02 16:55:00 -07:00
Mikael Gerdin
94677d4faf
Merge
2013-05-02 16:41:09 -07:00
Bengt Rutisson
d08bf8d1be
8013574: PrintMalloc conflicts with the command line parsing
...
Make sure that _num_jvm_args is not updated until the new entry to _jvm_args_array has been added
Reviewed-by: johnc, tamao, tschatzl
2013-05-02 22:35:15 +02:00
David Katleman
31e3e6051a
Added tag jdk8-b88 for changeset e6d52b5fe8d1
2013-05-02 13:35:00 -07:00
Jiangli Zhou
668be30ae1
Merge
2013-05-02 13:12:33 -07:00
Mikael Gerdin
67b238b12d
Merge
2013-05-02 19:28:59 +02:00
Jiangli Zhou
e009341957
Merge
2013-05-02 12:16:01 -04:00
Karen Kinnear
570af5a3dd
8010783: assert(s->refcount() != 0) failed: for create_overpasses
...
Reviewed-by: kvn, dcubed
2013-05-02 10:58:04 -04:00
Albert Noll
317f9c229e
8013532: Remove unused parameter "compiler" from DTRACE_METHOD_COMPILE* macros
...
Remove unused parameter in dtrace macros
Reviewed-by: kvn, roland
2013-05-02 10:27:15 +02:00
Bharadwaj Yadavalli
dc96841053
Merge
2013-05-01 09:00:39 -07:00
Bharadwaj Yadavalli
f631e3d253
8013418: assert(i == total_args_passed) in AdapterHandlerLibrary::get_adapter since 8-b87
...
Do not treat static methods as miranda methods.
Reviewed-by: dholmes, acorn
2013-05-01 08:07:59 -07:00
Vladimir Danushevsky
cd7d5cba42
Merge
2013-05-01 10:10:57 -04:00
Staffan Larsen
04fdba24b5
Merge
2013-05-01 01:07:50 +02:00
Vladimir Danushevsky
867c30e1bd
8013398: Adjust number of stack guard pages on systems with large memory page size
...
Auto adjust number of stack guard pages on systems with large memory page size
Reviewed-by: bobv, coleenp
2013-04-30 17:36:01 -04:00
Staffan Larsen
e8848553b1
8013364: SA-JDI exceptions caused by lack of permissions on OSX should be more verbose about issue cause
...
Reviewed-by: coleenp, rbackman
2013-04-30 21:47:02 +02: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
Erik Helin
10be07bb9d
8008541: Remove old code in HotSpot that supported the jmap -permstat functionality
...
Reviewed-by: sla, brutisso
2013-04-30 16:36:24 +02:00
Zhengyu Gu
a2f5f4ca1b
8013214: BigApps fails due to 'fatal error: Illegal threadstate encountered: 6'
...
Grab and drop SR_lock to get the thread to honor the safepoint protocol
Reviewed-by: dcubed, coleenp
2013-04-30 09:17:06 -04:00
Staffan Larsen
c8db53ce50
Merge
2013-04-30 02:28:42 -07:00
Staffan Larsen
60a56c2f06
8013466: SA crashes when attaching to a process on OS X
...
Reviewed-by: coleenp, rbackman, minqi
2013-04-30 10:53:58 +02:00
Mikael Vidstedt
9e8a3585b0
8012015: Use PROT_NONE when reserving memory
...
Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE.
Reviewed-by: dholmes, ctornqvi
2013-04-29 11:03:49 -07:00
Harold Seigel
c108e3a79f
Merge
2013-04-29 16:36:17 -04: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
Nils Eliasson
dedfcd5aa4
8012547: Code cache flushing can get stuck reclaming of memory
...
Keep sweeping regardless of if we are flushing
Reviewed-by: kvn, twisti
2013-04-29 13:20:19 +02:00
Mikael Gerdin
40531b2009
8013129: Possible deadlock with Metaspace locks due to mixed usage of safepoint aware and non-safepoint aware locking
...
Change Metaspace::deallocate to take lock with _no_safepoint_check_flag
Reviewed-by: coleenp, jmasa, dholmes
2013-04-29 13:07:27 +02:00
Jiangli Zhou
a4ca5b8a49
Merge
2013-04-29 01:58:43 -07:00