Commit Graph

4541 Commits

Author SHA1 Message Date
David Katleman
738e12d844 Merge 2013-04-17 12:38:58 -07:00
Martin Doerr
d61a4656e4 8012335: G1: Fix bug with compressed oops in template interpreter on x86 and sparc
In do_oop_store the uncompressed value of the oop being stored needs to be preserved and passed to g1_write_barrier_post. This is necessary for the heap region cross check to work correctly.

Reviewed-by: coleenp, johnc
2013-04-17 10:57:02 -07:00
Harold Seigel
54b7ae1ff9 8009928: PSR:PERF Increase default string table size
Increase default string table size to 60013 for 64-bit platforms.

Reviewed-by: coleenp, dholmes
2013-04-17 08:20:02 -04:00
Ron Durbin
2b3d514995 Merge 2013-04-16 08:59:29 -07:00
Roland Westrelin
bad6728ea4 8011901: Unsafe.getAndAddLong(obj, off, delta) does not work properly with long deltas
Instruct xaddL_no_res shouldn't allow 64 bit constants.

Reviewed-by: kvn
2013-04-16 17:06:39 +02:00
Jiangli Zhou
2f703b2613 Merge 2013-04-15 21:25:23 -04:00
David Katleman
fd2735329e Merge 2013-04-15 14:19:58 -07:00
David Katleman
6e2f758312 8012048: JDK8 b85 source with GPL header errors
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:08 -07:00
Alejandro Murillo
6aa1ba2f50 8011949: new hotspot build - hs25-b29
Reviewed-by: jcoomes
2013-04-11 21:54:46 -07:00
Alejandro Murillo
2a029f80ad Added tag hs25-b28 for changeset cd2648ba846b 2013-04-11 21:45:21 -07:00
Alejandro Murillo
f70baf4c46 Merge 2013-04-11 21:45:20 -07:00
Jiangli Zhou
9ce964ad38 8012052: java/lang/invoke/6987555/Test6987555.java crashes with assert(mcs != NULL) failed: MethodCounters cannot be NULL
Skip counter decay if the MethodCounters is NULL in NonTieredCompPolicy::delay_compilation().

Reviewed-by: kvn, dholmes
2013-04-11 23:06:33 -04:00
Bharadwaj Yadavalli
c660647bfa Merge 2013-04-11 17:16:39 -07:00
Alejandro Murillo
8a2ec195f6 Merge 2013-04-11 16:35:19 -07:00
Vladimir Ivanov
9e673d1cc1 Merge 2013-04-11 11:42:41 -07:00
David Katleman
3a62b96673 Added tag jdk8-b85 for changeset 462779762d8a 2013-04-11 09:39:57 -07:00
Vladimir Ivanov
50821686b5 8011972: Field can be erroneously marked as contended when @Contended annotation isn't present
Reviewed-by: kvn, kmo, shade
2013-04-11 09:08:15 -07:00
Mikael Gerdin
0393fa9b49 Merge 2013-04-11 16:35:34 +02:00
Krystal Mo
fe4b74edc7 8011952: Missing ResourceMarks in TraceMethodHandles
Add missing ResourceMark under TraceMethodHandles in LinkResolver

Reviewed-by: dholmes
2013-04-11 07:12:09 -07:00
Nils Eliasson
92ef5fe748 8006952: Slow VM due to excessive code cache freelist iteration
Remove continous free block requirement

Reviewed-by: kvn
2013-04-11 13:57:44 +02:00
Igor Ignatyev
33e3f6b59b 8011971: WB API doesn't accept j.l.reflect.Constructor
Reviewed-by: kvn, vlivanov
2013-04-16 10:04:01 -07:00
Nils Eliasson
23e34191a6 Merge 2013-04-16 10:37:16 -04:00
Niclas Adlertz
09fdc18edc 8011621: live_ranges_in_separate_class.patch
Reviewed-by: kvn, roland
2013-04-16 10:08:41 +02:00
Roland Westrelin
115caa72a0 Merge 2013-04-15 18:42:42 -07:00
Christian Thalinger
fbdab16d85 7172922: export_ makefile targets do not work unless all supported variants are built
Reviewed-by: dholmes, kvn
2013-04-15 16:20:05 -07:00
Roland Westrelin
9f96eb3ed5 8011648: C1: optimized build is broken after 7153771
Missing #ifdef ASSERT

Reviewed-by: kvn
2013-04-15 17:17:11 +02:00
Roland Westrelin
361d401c11 8011582: assert(nbits == 32 || (-(1 << nbits-1) <= x && x < ( 1 << nbits-1))) failed: value out of range
C1 runtime's predicate_failed_trap should use jump_to on sparc

Reviewed-by: kvn
2013-04-15 09:42:46 +02:00
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