David Chase
25c31f3742
6443505: Ideal() function for CmpLTMask
...
Repair wrong code generation, added new matching rule
Reviewed-by: kvn, twisti
2013-04-12 19:14:47 -07:00
Vladimir Kozlov
cb85043f25
Merge
2013-04-12 20:37:18 -04: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
Christian Thalinger
4ac4649aab
8011678: test/Makefile should pick up JT_HOME environment variable
...
Reviewed-by: kvn
2013-04-12 15:43:07 -07:00
Christian Thalinger
01e43be718
8011933: add number of classes, methods and time spent to CompileTheWorld
...
Reviewed-by: jrose, kvn
2013-04-12 12:22:59 -07:00
Alejandro Murillo
06a29c1417
8011948: new hotspot build - hs25-b28
...
Reviewed-by: jcoomes
2013-04-11 01:14:31 -07:00
Alejandro Murillo
2d0bb26480
Added tag hs25-b27 for changeset ea5bba2e47e9
2013-04-11 01:03:41 -07:00
Zhengyu Gu
37fe1421a8
8010151: nsk/regression/b6653214 fails "assert(snapshot != NULL) failed: Worker should not be started"
...
Fixed a racing condition when shutting down NMT while worker thread is being started, also fixed a few mis-declared volatile pointers.
Reviewed-by: dholmes, dlong
2013-04-10 08:55:50 -04:00
Stefan Karlsson
e96efdaa1a
8011872: Include Bit Map addresses in the hs_err files
...
Reviewed-by: brutisso, jmasa
2013-04-10 14:26:49 +02:00
Mikael Gerdin
0edccc9e61
8010196: NPG: Internal Error: Metaspace allocation lock -- possible deadlock
...
Refactor the CLD dependency list into a separate class. Use an ObjectLocker to synchronize additions to the CLD dependency list.
Reviewed-by: stefank, coleenp
2013-04-10 13:27:35 +02:00
Roland Westrelin
c99c99aa36
8011706: specjvm2008 test xml.transform gets array bound exception with c1
...
Loop invariant code motion may move load before store to the same field
Reviewed-by: kvn
2013-04-10 09:52:49 +02:00
Jiangli Zhou
56370657b9
8010862: The Method counter fields used for profiling can be allocated lazily
...
Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Bharadwaj Yadavalli
be10521e31
8011671: JCK tests on static interface methods fail under b84: Illegal type at constant pool entry 5
...
Restore incorrect removal of support for static interface method verification in Java 8
Reviewed-by: kvn, coleenp
2013-04-09 08:52:32 -07:00
Leonid Mesnik
6f3fdce7b3
8009808: TEST-BUG : test case is using bash style tests. Default shell for jtreg is bourne. thus failure
...
Rewrite test to use Java only instead of shell script
Reviewed-by: mgerdin, brutisso
2013-04-09 15:32:45 +02:00
David Chase
12be356d81
8010913: compiler/6863420 often exceeds timeout
...
Add longer timeout for jtreg, add internal timeout thread to prevent spurious timeouts
Reviewed-by: twisti, kvn
2013-04-08 07:40:08 -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
Zhengyu Gu
e722199fc0
Merge
2013-04-05 23:10:04 -07:00
Daniel D. Daugherty
b548db1e6d
Merge
2013-04-05 16:16:18 -07:00
Calvin Cheung
a72b5d24e6
8006001: [parfait] Possible file leak in hotspot/src/os/linux/vm/perfMemory_linux.cpp
...
Reviewed-by: zgu, coleenp, hseigel, dholmes
2013-04-05 11:15:13 -07:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Zhengyu Gu
28e33e673a
8011161: NMT: Memory leak when encountering out of memory error while initializing memory snapshot
...
Fix memory leaks when NMT fails to initialize snapshot and worker thread
Reviewed-by: dcubed, ccheung, rdurbin
2013-04-05 12:19:19 -04:00
Niclas Adlertz
340226f16a
8006016: Memory leak at hotspot/src/share/vm/adlc/output_c.cpp
...
Reviewed-by: kvn, roland
2013-04-05 11:09:43 +02:00
Alejandro Murillo
0afa77628c
8011584: new hotspot build - hs25-b27
...
Reviewed-by: jcoomes
2013-04-04 21:15:43 -07:00
Alejandro Murillo
fe9ae80e5d
Added tag hs25-b26 for changeset 7d026deaf1db
2013-04-04 21:06:39 -07:00
Alejandro Murillo
de822f9a8e
Merge
2013-04-04 21:06:38 -07:00
David Katleman
c8755701ef
Added tag jdk8-b84 for changeset df190a3da0e2
2013-04-04 19:05:12 -07:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Vladimir Kozlov
c68fa92e4b
8011198: LP64 setting is not preserved on Solaris after 8006965
...
Fixed incremental build makefiles generated by buildtree.make. Consolidated unix build.sh.
Reviewed-by: twisti
2013-04-04 12:18:46 -07:00
Mikael Gerdin
c17d80e53d
Merge
2013-04-04 19:07:32 +02: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
Niclas Adlertz
5548661d72
8006014: Memory leak in hotspot/src/share/vm/adlc/dfa.cpp
...
Reviewed-by: kvn, roland
2013-04-04 09:30:06 +02:00
Roland Westrelin
4bde66a178
Merge
2013-04-04 02:48:21 -07:00
Roland Westrelin
02a014996b
8010399: Test8009761.java "Failed: init recursive calls: 5498. After deopt 5494"
...
Test from 8009761 shouldn't be run with -Xcomp
Reviewed-by: kvn
2013-04-04 09:33:24 +02:00
Niclas Adlertz
0f3a43e318
8006008: Memory leak in hotspot/src/share/vm/adlc/archDesc.cpp
...
Reviewed-by: roland, kvn
2013-04-04 09:18:47 +02:00
Calvin Cheung
33f6dd2215
8006103: [parfait] Possible null pointer dereference at hotspot/src/os/linux/vm/os_linux.cpp; os_windows.cpp; os_solaris.cpp; os_bsd.cpp
...
Reviewed-by: zgu, iklam
2013-04-03 16:43:09 -07:00
Chuck Rasbold
93c40233d6
8010437: guarantee(this->is8bit(imm8)) failed: Short forward jump exceeds 8-bit offset
...
Fix shorten_branches() to accurately count an initial nop that may be inserted in a block that starts with a safepoint.
Reviewed-by: kvn
2013-04-03 15:00:55 -07:00
Vladimir Kozlov
88f70d8026
8011102: Clear AVX registers after return from JNI call
...
Execute vzeroupper instruction after JNI call and on exits in jit compiled code which use 256bit vectors.
Reviewed-by: roland
2013-04-03 11:12:57 -07:00
Mikael Gerdin
0a963fd1b7
Merge
2013-04-03 09:19:02 +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
Thomas Schatzl
45cc7f61db
8005857: assert in GC_locker from PSOldGen::expand with -XX:+PrintGCDetails and Verbose
...
Use GC_locker::is_active_and_needs_gc() instead of GC_locker::is_active() for providing information about the reason of heap expansion.
Reviewed-by: jmasa, johnc
2013-04-02 10:03:02 +02:00
Nils Eliasson
5b838d4ce1
7034299: Faulty winsock initialization code
...
Reviewed-by: dholmes, sla, ctornqvi
2013-04-02 09:30:07 +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
Jon Masamitsu
7f78a7f475
8011173: NPG: Replace the ChunkList implementation with class FreeList<Metachunk>
...
Reviewed-by: mgerdin, tschatzl, johnc, coleenp
2013-04-01 10:50:30 -07:00
Mikael Gerdin
bd3eb2abf6
Merge
2013-04-16 12:46:24 +02:00
John Cuthbertson
9fba6da283
Merge
2013-04-11 10:20:00 -07:00
John Cuthbertson
fa3b993423
8010780: G1: Eden occupancy/capacity output wrong after a full GC
...
Move the calculation and recording of eden capacity to the start of a GC and print a detailed heap transition for full GCs.
Reviewed-by: tschatzl, jmasa
2013-04-10 10:57:34 -07:00
Krystal Mo
214b7d9dcf
8011009: Use do-while(0) instead of while(0) in EC_TRACE and RC_TRACE* macros
...
Improve EC_TRACE and RC_TRACE* to use the do-while(0) trick for statement-like macro
Reviewed-by: sspitsyn, dcubed
2013-03-30 08:01:05 -07:00
Bharadwaj Yadavalli
70314e1b01
Merge
2013-03-29 20:52:01 -07:00
Calvin Cheung
5f93d0e84c
8006006: [parfait] Memory leak at hotspot/src/share/tools/launcher/wildcard.c
...
A simple fix to add FileList_free(fl) before returning NULL.
Reviewed-by: zgu, coleenp, minqi
2013-03-29 14:18:40 -07:00
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
Roland Westrelin
3c586e8f26
8010934: assert failure in c1_LinearScan.cpp: "asumption: non-Constant instructions have only virtual operands"
...
Incorrect code to skip some ArrayLength instructions in LIRGenerator
Reviewed-by: kvn
2013-03-29 17:25:27 +01:00
Alejandro Murillo
f6b3e5b495
8011022: new hotspot build - hs25-b26
...
Reviewed-by: jcoomes
2013-03-28 19:13:22 -07:00
Alejandro Murillo
142f171fb6
Added tag hs25-b25 for changeset 4c619ad74be5
2013-03-28 19:02:00 -07:00
Alejandro Murillo
1f205eb4dc
Merge
2013-03-28 19:01:59 -07:00
Gary Collins
4970095c03
Merge
2013-03-28 15:42:11 -07:00
David Katleman
afd676cdb3
Added tag jdk8-b83 for changeset 395a7c20e300
2013-03-28 10:54:00 -07:00
Peter Allwin
388d803077
8002118: WindbgDebuggerLocal should not try to load 64-bit debug libraries for 32-bit JVM
...
Reviewed-by: sspitsyn, zgu
2013-03-28 15:39:52 +01: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
Harold Seigel
0f6fd31a93
Merge
2013-03-27 13:26:44 -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
Gary Collins
c2a873f014
8009152: A number of jtreg tests need review/improvement
...
Added a new test_env.txt file to capture common shell variable. Added concept of COMPILEJAVA for use when TESTJAVA is a JRE. If COMPILEJAVA not set then TESTJAVA will be the default with assumption it is a JDK.
Reviewed-by: kvn, brutisso, coleenp
2013-03-27 09:49:51 -07:00
Harold Seigel
366b7e1c5e
8010833: Test7116786.java is failing on most configs after fix for 8010667
...
Update test to recognize that non-zero pad bytes for lookupswitch/tablewsitch opcodes are now valid.
Reviewed-by: dcubed, twisti, kvn, coleenp, dholmes
2013-03-27 11:41:51 -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
Zhengyu Gu
087b089a1f
Merge
2013-03-26 15:20:05 -07:00
Vladimir Kozlov
848ccdbdfe
8004640: C2 assert failure in memnode.cpp: NULL+offs not RAW address
...
Always transform AddP nodes in IdealKit by calling _gvn.transform().
Reviewed-by: roland, twisti
2013-03-26 12:55:26 -07:00
Harold Seigel
a96ab956fa
Merge
2013-03-26 12:43:32 -07:00
Zhengyu Gu
4c1946ddfe
Merge
2013-03-26 11:40:24 -07:00
Zhengyu Gu
7c46953faf
8010651: create.bat still builds the kernel
...
Remove old kernel build targets and VS C++ projects created by create.bat on Windows
Reviewed-by: coleenp, sla
2013-03-26 14:11:21 -04: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
Niclas Adlertz
143a0039a3
8010281: Remove code that is never executed
...
Reviewed-by: kvn, roland
2013-03-26 10:05:33 +01:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07: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
Morris Meyer
e4b1cf5f02
Merge
2013-03-24 12:43:13 -07:00
Christian Tornqvist
ca4e4e41da
Merge
2013-03-24 09:21:37 +01:00
Christian Tornqvist
c458eb3fd6
8008454: test/runtime/NMT/PrintNMTStatistics is broken
...
Added @run tag so that it actually runs the test, also fixed broken command line and incorrect parsing. Also reviewed by gerard.ziemski@oracle.com
Reviewed-by: mgerdin, zgu
2013-03-24 09:11:55 +01:00
Daniel D. Daugherty
05b3bc59c3
Merge
2013-03-23 22:35:02 -07:00
Joseph Provino
9d5464dd87
Merge
2013-03-23 14:59:02 -04:00
Alejandro Murillo
196cd6601b
8010498: new hotspot build - hs25-b25
...
Reviewed-by: jcoomes
2013-03-23 10:06:34 -07:00
Morris Meyer
981e9c35c9
8009026: [parfait] Null pointer deference in hotspot/src/share/vm/code/nmethod.cpp
...
Add guarantee() to nmethod constructor and checks to ensure CodeCache has space before allocation
Reviewed-by: kvn
2013-03-23 06:22:07 -07:00
Alejandro Murillo
9afb5dba83
Added tag hs25-b24 for changeset 5f89974cce81
2013-03-23 01:47:25 -07:00
Alejandro Murillo
dc09472ed0
Merge
2013-03-23 01:47:24 -07:00
Erik Helin
d67e393dd6
8009408: gc/metaspace/ClassMetaspaceSizeInJmapHeap.java fails with "exit code 1"
...
Reviewed-by: brutisso, sla, ctornqvi
2013-03-23 09:16:37 +01: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
Thomas Schatzl
bb5bd507d7
7112912: Message "Error occurred during initialization of VM" on boxes with lots of RAM
...
Ergonomics now also takes available virtual memory into account when deciding for a heap size. The helper method to determine the maximum allocatable memory block now uses the appropriate OS specific calls to retrieve available virtual memory for the java process. In 32 bit environments this method now also searches for the maximum actually reservable amount of memory. Merge previously separate implementations for Linux/BSD/Solaris into a single method.
Reviewed-by: jmasa, tamao
2013-03-27 19:21:18 +01:00
Mikael Gerdin
89120e7827
7014552: gc/lock/jni/jnilockXXX works too slow on 1-processor machine
...
Keep a counter of how many times we were stalled by the GC locker, add a diagnostic flag which sets the limit.
Reviewed-by: brutisso, ehelin, johnc
2013-03-28 10:27:28 +01: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
Bharadwaj Yadavalli
69a1275cf2
Merge
2013-03-22 13:35:31 -04:00
Erik Helin
902be4665b
8000754: NPG: Implement a MemoryPool MXBean for Metaspace
...
Reviewed-by: jmasa, stefank
2013-03-22 16:10:01 +01:00
Bharadwaj Yadavalli
6132db352d
8009539: JVM crash when run lambda testng tests
...
Ensure class pointer is non-null before dereferencing it to check if it is loaded.
Reviewed-by: kvn
2013-03-22 07:58:55 -07: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
Roland Westrelin
15178005e6
Merge
2013-03-21 22:00:14 -07:00
Morris Meyer
8d607b2446
Merge
2013-03-21 21:48:56 -07:00
Ioi Lam
ba67f14480
8010389: After fix for 7107135 a failed dlopen() call results in a VM crash
...
Call dlerror() in VM thread as necessary.
Reviewed-by: coleenp, dholmes
2013-03-21 20:46:46 -07:00
David Katleman
65547b27ff
Added tag jdk8-b82 for changeset 3826413d5c5b
2013-03-21 10:42:51 -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
Morris Meyer
85aa7836de
8009584: [parfait] Null pointer deference in hotspot/src/cpu/x86/vm/relocInfo_x86.cpp
...
Added guarantee() to pd_address_in_code()
Reviewed-by: kvn
2013-03-21 10:11:24 -07:00
Joseph Provino
9bf86a475e
8009904: jvmtiClassFileReconstituter.cpp needs to be excluded from the minimal jvm
...
JvmtiClassFileReconstituter.cpp needs to be added to the list of files to exclude when JVMTI is excluded from the jvm
Reviewed-by: dholmes, sspitsyn
2013-03-21 10:18:05 -04:00
Zhengyu Gu
661b263eb2
Merge
2013-03-21 06:53:53 -07:00
Thomas Wuerthinger
06ef4cddf7
7153771: array bound check elimination for c1
...
When possible optimize out array bound checks, inserting predicates when needed.
Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01: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
Daniel D. Daugherty
ff91250bd2
Merge
2013-03-20 20:52:00 -07: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
Christian Thalinger
2f4ecb86a2
8006965: remove test_gamma and add dedicated test_* targets instead
...
Reviewed-by: kvn, jcoomes
2013-03-20 17:04:45 -07:00
Christian Tornqvist
b7d738913e
8007982: some runtime/CommandLine/ tests fail on 32-bit platforms
...
Changed tests to use platform independent flags
Reviewed-by: collins, hseigel, zgu
2013-03-20 20:40:57 +01: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
Christian Tornqvist
3277de9dad
8010084: Race in runtime/NMT/BaselineWithParameter.java
...
Added a waitFor() on the process
Reviewed-by: mgerdin, sla, zgu
2013-03-20 08:17:55 +01: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
Morris Meyer
887dd2634c
8009172: [parfait] Null pointer deference in hotspot/src/share/vm/opto/output.cpp
...
Add guarantee() to DoScheduling()
Reviewed-by: twisti, kvn
2013-03-19 07:20:15 -07:00
Yunda
3630c6a127
8009457: SA: A small fix on "scanoops" command in CLHSDB
...
Reviewed-by: sla, coleenp, kmo
2013-03-19 13:44:26 +01:00
Yunda
4fdb8216ac
8009456: SA: typeToVtbl of BasicTypeDataBase should not be static
...
Reviewed-by: coleenp, sla
2013-03-19 13:41:05 +01:00
Niclas Adlertz
e6e67652d9
8010121: Remove definition of ShouldNotReachHere2(msg)
...
Reviewed-by: kvn, stefank, rbackman, twisti
2013-03-19 10:31:16 +01:00
John Cuthbertson
9164834d73
8009940: G1: assert(_finger == _heap_end) failed, concurrentMark.cpp:809
...
Skip reference processing if the global marking stack overflows during remark. Refactor and rename set_phase(); move code that sets the concurrency level into its own routine. Do not call set_phase() from within parallel reference processing; use the concurrency level routine instead. The marking state should only set reset by CMTask[0] during the concurrent phase of the marking cycle; if an overflow occurs at any stage during the remark, the marking state will be reset after reference processing.
Reviewed-by: brutisso, jmasa
2013-03-19 00:57:39 -07:00
David Holmes
4bb3e82052
8008783: Modifications needed to JPRT to allow for building hard float abi and new bundle changes
...
Reviewed-by: twisti, collins, bobv, jwilhelm
2013-03-18 19:34:35 -04:00
John Cuthbertson
d41c0fce7f
8009536: G1: Apache Lucene hang during reference processing
...
In CMTask::do_marking_step(), Skip offering termination and entering the first and second synchronization barriers if called from a serial context, i.e. the VM thread.
Reviewed-by: brutisso, tschatzl
2013-03-18 11:05:27 -07:00
Roland Westrelin
e6dc6a3b3a
Merge
2013-03-18 09:08:07 -07:00
Roland Westrelin
8f1814d874
8008555: Debugging code in compiled method sometimes leaks memory
...
Support for strings that have same life-time as code that uses them.
Reviewed-by: kvn, twisti
2013-03-18 13:19:06 +01:00
Igor Ignatyev
51c733dfb1
8008211: Some of WB tests on compiler fail
...
Reviewed-by: kvn, vlivanov
2013-03-18 04:29:08 -07:00
Stefan Karlsson
d4f955a545
Merge
2013-03-18 09:34:58 +01:00
Daniel D. Daugherty
58cc8b00f9
Merge
2013-03-17 08:57:56 -07:00
Bob Vandette
a28a83c4ed
Merge
2013-03-17 06:30:45 -07:00
Krystal Mo
d824b431de
Merge
2013-03-16 21:44:52 -07:00
Morris Meyer
2cd055b0b2
8010144: [parfait] Null pointer deference in hotspot/src/os_cpu/linux_x86/vm/os_linux_x86.cpp
...
Add null check to signal handler
Reviewed-by: dcubed
2013-03-16 07:41:09 -07:00
Morris Meyer
e98f593fb0
8008328: [partfait] Null pointer defererence in hotspot/src/cpu/x86/vm/frame_x86.inline.hpp
...
Add guarantee() to oop_result inlines
Reviewed-by: kvn, twisti
2013-03-16 07:40:36 -07:00
Morris Meyer
5b72922058
8009156: [parfait] Null pointer deference in hotspot/src/share/vm/services/memoryService.cpp
...
Add guarantee() to add_generation_memory_pool()
Reviewed-by: kvn, twisti
2013-03-16 07:39:57 -07:00
Morris Meyer
f8081de006
8009166: [parfait] Null pointer deference in hotspot/src/share/vm/opto/type.cpp
...
Add guarantee() to as_instance_type()
Reviewed-by: kvn, twisti
2013-03-16 07:39:14 -07:00
Yunda
f27f7d4c57
8008796: SA: Oop.iterateFields() should support CompressedKlassPointers again
...
Add a missing change from JDK-7054512 so that Oop.iterateFields() works with UseCompressedKlassPointers
Reviewed-by: coleenp, roland
2013-03-15 22:07:42 -07:00
Morris Meyer
c1d6693fcb
Merge
2013-03-15 18:44:08 -07:00
Zhengyu Gu
dcd1fc358f
Merge
2013-03-15 17:12:17 -07:00
Ioi Lam
6f76ade8e1
8007725: NPG: Klass::restore_unshareable_info() triggers assert(k->java_mirror() == NULL)
...
Check for exception during SystemDictionary::resolve_instance_class_or_null() and clean up.
Reviewed-by: coleenp, acorn, hseigel, minqi
2013-03-15 17:24:40 -04:00
Bill Pittore
f5f5775dc3
8005716: Enhance JNI specification to allow support of static JNI libraries in Embedded JREs
...
Reviewed-by: dlong, alanb, mduigou
2013-03-15 15:20:40 -04:00
Alejandro Murillo
54485169dd
8010105: new hotspot build - hs25-b24
...
Reviewed-by: jcoomes
2013-03-15 11:44:33 -07:00
Alejandro Murillo
943bd88ce1
Added tag hs25-b23 for changeset 57159db35c41
2013-03-15 11:18:40 -07:00
Alejandro Murillo
593a00095a
Merge
2013-03-15 11:18:39 -07:00
Zhengyu Gu
10a02b0e2c
8009614: nsk/split_verifier/stress/ifelse/ifelse002_30 fails with 'assert((size & (granularity - 1)) == 0) failed: size not aligned to os::vm_allocation_granularity()
...
Align up vm allocation size to os defined granularity
Reviewed-by: dholmes, coleenp
2013-03-15 11:53:28 -04:00
Stefan Karlsson
6567b83f0d
Merge
2013-03-15 04:39:05 -07:00
Stefan Karlsson
35177d7db2
Merge
2013-03-15 08:57:55 +01:00
Lana Steuck
128c2160bd
Merge
2013-03-14 19:26:39 -07:00
Krystal Mo
2da4942a52
Merge
2013-03-14 16:17:58 -07:00
Morris Meyer
5b2fed9809
Merge
2013-03-14 16:16:05 -07:00
David Katleman
82f7d021b6
Added tag jdk8-b81 for changeset 25c319ff4cf4
2013-03-14 15:00:19 -07:00
Krystal Mo
79eaa97ca4
8010116: Abstract_VM_Version::internal_vm_info_string() should recognize VS2010 and VS2012
...
Add cases for _MSC_VER == 1600 and 1700
Reviewed-by: zgu
2013-03-14 13:22:04 -07:00
Vladimir Danushevsky
aa78ad11f8
Merge
2013-03-14 12:49:05 -04:00
Morris Meyer
46a623ec88
8008560: [parfait] Null pointer deference in hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp
...
Add null pointer check in signal handler
Reviewed-by: kvn
2013-03-14 07:44:18 -07:00
Joseph Provino
2e15c5911f
Merge
2013-03-14 10:37:23 -04:00
Thomas Schatzl
e1df78e390
6733980: par compact - TraceGen1Time always shows 0.0000 seconds
...
Use the correct collector to retrieve accumulated gen1 trace time
Reviewed-by: johnc, jmasa
2013-03-14 09:37:38 +01:00
Mikael Gerdin
a4a4c34e96
8005602: NPG: classunloading does not happen while CMS GC with -XX:+CMSClassUnloadingEnabled is used
...
Call purge() on CLDG after sweep(), reorder purge() call in GenCollectedHeap
Reviewed-by: jmasa, stefank
2013-03-14 10:54:44 +01:00
Yumin Qi
be1b5fc17e
8003348: SA can not read core file on OS
...
Macosx uses Mach-O file format for binary files, not ELF format. Currently SA works on core files on other platforms, t his change enables SA work on core file generated on Darwin.
Reviewed-by: sla, sspitsyn
2013-03-14 00:33:08 -07:00
Coleen Phillimore
c5867cb71b
8003419: NPG: Clean up metadata created during class loading if failure
...
Store metadata on ClassFileParser instance to be cleaned up by destructor. This enabled some refactoring of the enormous parseClassFile function.
Reviewed-by: jmasa, acorn
2013-03-13 17:34:29 -04:00
Coleen Phillimore
b243475fd2
8009829: CDS: JDK JPRT test fails crash in Symbol::equals()
...
-Xshare:dump was creating a Symbol in C_heap. There's an assert there that jdk jprt wasn't hitting because it was only done in product
Reviewed-by: dholmes, hseigel, iklam
2013-03-13 15:15:56 -04:00
Coleen Phillimore
65206f2480
Merge
2013-03-13 13:47:35 -04:00
Coleen Phillimore
70b26044ba
8009836: nsk/regression/b4222717 fails with empty stack trace
...
Some zeroing was missed for bug 8003553, causing empty stack traces and Xcom crashes, add back zeroing to metablock
Reviewed-by: dholmes, rbackman
2013-03-13 09:10:35 -04:00
Lana Steuck
4d0bc0dc58
Merge
2013-03-12 18:22:40 -07:00
Jon Masamitsu
79c091f287
6976528: PS: assert(!limit_exceeded || softrefs_clear) failed: Should have been cleared
...
Reviewed-by: johnc
2013-03-12 11:00:49 -07:00
Bengt Rutisson
dbbea72a0a
Merge
2013-03-13 05:14:43 +01:00
Thomas Schatzl
401d1f315d
8008684: CMS: concurrent phase start markers should always be printed
...
Print the concurrent phase start markers for CMS when PrintGCDetails is enabled, not only if both PrintGCDetails and PrintGCTimeStamps are.
Reviewed-by: mgerdin, jmasa
2013-03-12 15:10:39 +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
Joseph Provino
0f54c50638
8009835: Only produce a warning when -Xshare:auto is explicitly requested
...
The minimal JVM is printing a warning message for default settings when it should quitely ignore them.
Reviewed-by: coleenp, dholmes
2013-03-12 00:02:16 -04:00
Aleksey Shipilev
2f5e08742a
8008965: @Contended fails with classes having static fields
...
Disable @Contended support for static fields
Reviewed-by: coleenp, kvn
2013-03-11 14:00:09 -04:00
Stefan Karlsson
1e1174e0be
8004697: SIGSEGV on Solaris sparc with -XX:+UseNUMA
...
Don't scan pages outside the given range.
Reviewed-by: jwilhelm, jmasa
2013-03-11 02:24:01 -07:00
Mikael Gerdin
1aa6c27298
8009282: Assertion "assert(used_and_free == capacity_bytes) failed: Accounting is wrong" failed with -XX:+Verbose -XX:+TraceMetadataChunkAllocation
...
Assertion is only valid when at a safepoint, adjust accordingly.
Reviewed-by: stefank, jmasa, tamao
2013-03-12 09:42:24 +01:00
Kevin Walls
379967b492
Merge
2013-03-11 15:37:10 +01:00
Kevin Walls
a181e6d505
8009723: CMS logs "concurrent mode failure" twice when using (disabling) -XX:-UseCMSCompactAtFullCollection
...
Reviewed-by: jwilhelm, ehelin, brutisso
2013-03-11 12:56:00 +00:00
Stefan Karlsson
2242377c11
Merge
2013-03-11 08:49:53 +01:00
Daniel D. Daugherty
fc336457e7
Merge
2013-03-08 17:49:52 -08:00
Daniel D. Daugherty
f73c8f1408
Merge
2013-03-08 17:14:22 -08:00
Joseph Provino
a68c69fd65
Merge
2013-03-08 12:35:18 -05:00
Coleen Phillimore
addd95f165
8003553: NPG: metaspace objects should be zeroed in constructors
...
Zero metadata in constructors, not in allocation (and some in constructors)
Reviewed-by: jmasa, sspitsyn
2013-03-08 11:47:57 -05:00
Alejandro Murillo
5d0afe6210
8009688: new hotspot build - hs25-b23
...
Reviewed-by: jcoomes
2013-03-08 08:22:18 -08:00
Alejandro Murillo
ebdab667c3
Added tag hs25-b22 for changeset f06b74113bc2
2013-03-08 08:10:01 -08:00