Commit Graph

5407 Commits

Author SHA1 Message Date
Mikael Gerdin
1d97871624 8009561: NPG: Metaspace fragmentation when retiring a Metachunk
Use best-fit block-splitting freelist allocation from the block freelist.

Reviewed-by: jmasa, stefank
2013-09-11 09:37:14 +02:00
Niclas Adlertz
bcdf7e7a4d 8010941: MinJumpTableSize is set to 18, investigate if that's still optimal
Lowered the MinJumpTableSize for each platform

Reviewed-by: kvn
2013-09-11 09:34:00 +02:00
Stefan Johansson
86624d96d7 8024176: [macosx] gc/metaspace/ClassMetaspaceSizeInJmapHeap.java failed since jdk8b105, hs25b47
The code for reading compressed klass pointers in the sa-agent on Mac used readCompOopAddress instead of readCompKlassAddress, this is wrong but has been hidden because compressed oops and compressed klasses has used the same base address in the past.

Reviewed-by: sla, jmasa
2013-09-11 08:57:02 +02:00
David Holmes
ce469f1922 8024256: Minimal VM build is broken with PCH disabled
Reviewed-by: coleenp, twisti
2013-09-11 00:38:18 -04:00
Vladimir Ivanov
3d840abcc2 Merge 2013-09-10 15:28:44 -07:00
Vladimir Ivanov
f0e77ac67f 8001107: @Stable annotation for constant folding of lazily evaluated variables
Co-authored-by: John Rose <john.r.rose@oracle.com>
Reviewed-by: rbackman, twisti, kvn
2013-09-10 14:51:48 -07:00
Albert Noll
4d99afea08 8024473: Remove unused macro: IRT_ENTRY_FOR_NMETHOD
Removed unused macro

Reviewed-by: kvn, adlertz
2013-09-10 07:51:37 +02:00
Harold Seigel
76033b1a37 8023167: JVM allows duplicate Runtime[In]VisibleTypeAnnotations attributes in ClassFile/field_info/method_info structures
Add checks for duplicates and issue errors when detected.

Reviewed-by: coleenp, zgu
2013-09-09 14:44:37 -04:00
Niclas Adlertz
19d50345e1 Merge 2013-09-09 19:53:28 +02:00
Kevin Walls
972efc6f0a 8023478: Test fails with HS crash in GCNotifier
Reviewed-by: sla
2013-09-09 10:01:09 +01:00
Alejandro Murillo
7e04c1775c 8024258: new hotspot build - hs25-b50
Reviewed-by: jcoomes
2013-09-06 11:11:19 -07:00
Alejandro Murillo
eb65e048f9 Added tag hs25-b49 for changeset 20a700f38686 2013-09-06 11:04:00 -07:00
Alejandro Murillo
3825e8cfae Merge 2013-09-06 11:04:00 -07:00
Ioi Lam
1c2a7eea85 8022335: Native stack walk while generating hs_err does not work on Windows x64
Use WinDbg API StackWalk64()

Reviewed-by: zgu, dholmes
2013-09-06 08:42:42 -07:00
Igor Ignatyev
c73d393947 8012447: Java CTW implementation
Reviewed-by: vlivanov, kvn, twisti
2013-09-05 16:38:04 +04:00
Thomas Schatzl
066b624223 Merge 2013-09-05 14:15:54 +02:00
Christine Lu
250f98771a Added tag jdk8-b106 for changeset a9ef5fb72167 2013-09-05 02:45:38 -07:00
Niclas Adlertz
a0a141a9d9 Merge 2013-09-05 10:39:10 +02:00
Jon Masamitsu
5eb2a3e96d Merge 2013-09-04 12:56:03 -07:00
Jon Masamitsu
451ff188a0 8013938: Native OOME on fastdebug VM on Solaris
Reviewed-by: azeemj, brutisso, kvn, tschatzl
2013-09-04 11:41:17 -07:00
Zhengyu Gu
34d47bd672 8022798: "assert(seq > 0) failed: counter overflow" in Kitchensink
Removed incorrect assertion, sequence number can overflow

Reviewed-by: dholmes, kamg
2013-09-04 08:55:08 -04:00
Niclas Adlertz
547f4dea7b 8024095: Missing brackets in local scheduling code
Added brackets for if-statement

Reviewed-by: kvn, roland
2013-09-02 22:44:57 +02:00
Rickard Bäckman
44a46005b8 Merge 2013-09-02 13:13:45 +02:00
Niclas Adlertz
adf7b53bfc Merge 2013-09-01 19:52:02 +02:00
Niclas Adlertz
900acf0c44 8023988: Move local scheduling of nodes to the CFG creation and code motion phase (PhaseCFG)
Moved local scheduling code from class Block to class PhaseCFG

Reviewed-by: kvn, roland
2013-09-01 19:21:05 +02:00
Harold Seigel
a320f6a566 8023381: VM fails to initialize in runtime/CDSCompressedKPtrs/XShareAuto.java runtime/SharedArchiveFile/CdsSameObjectAlignment.java
Improve handling when CDS archive cannot be mapped

Reviewed-by: kvn, dholmes, mseledtsov
2013-09-01 10:37:01 -04:00
Karen Kinnear
dac29a1204 Merge 2013-08-30 15:42:01 -07:00
Harold Seigel
9422277fb6 Merge 2013-08-30 15:57:06 -04:00
Karen Kinnear
d61425d2f1 Merge 2013-08-30 12:56:58 -07:00
Karen Kinnear
fdf2c975ed 8023872: Verification error in generated lambda classes
Skip verification for generated lambda classes

Reviewed-by: kamg, dholmes
2013-08-30 15:15:56 -04:00
Harold Seigel
2842b72e34 Merge 2013-08-30 15:15:22 -04:00
Lois Foltan
0f6bcbe0b5 8024050: Incorrect optimization level and comment specified for unsafe.cpp
Fix comments and optimization level.

Reviewed-by: rdurbin, coleenp, hseigel
2013-08-30 15:07:23 -04:00
Zhengyu Gu
0dee23ad80 Merge 2013-08-30 13:38:45 -04:00
Zhengyu Gu
38fac8c706 Merge 2013-08-30 12:22:02 -04:00
Zhengyu Gu
c4d7122a7f 6991327: using -Xprof trigger native memory leak
Fixed a memory leak in FlatProfiler::record_thread_tick() method

Reviewed-by: dholmes, ccheung
2013-08-30 11:54:14 -04:00
Daniel D. Daugherty
379674be8f Merge 2013-08-30 07:04:42 -07:00
Alejandro Murillo
7ba96712a8 8024022: new hotspot build - hs25-b49
Reviewed-by: jcoomes
2013-08-30 00:29:52 -07:00
Alejandro Murillo
aa34aa0bcf Added tag hs25-b48 for changeset 137826043047 2013-08-30 00:19:43 -07:00
Alejandro Murillo
861ce92334 Merge 2013-08-30 00:19:42 -07:00
Bengt Rutisson
6d7626dba4 8019902: G1: Use the average heap size rather than the minimum heap size to calculate the region size
Reviewed-by: tonyp, tschatzl, sjohanss
2013-08-30 07:31:47 +02:00
Lois Foltan
fca9e37c80 8021954: VM SIGSEGV during classloading on MacOS; hs_err_pid file produced
Declare all user-defined operator new()s within Hotspot code with the empty throw() exception specification

Reviewed-by: coleenp, twisti, dholmes, hseigel, dcubed, kvn, ccheung
2013-08-29 18:56:29 -04:00
Dmitry Samersoff
399a8b8d3f Merge 2013-08-29 21:46:09 +02:00
Vladimir Ivanov
a92cdcd010 8023976: assert(!CompilationPolicy::can_be_compiled(this, comp_level)) failed: sanity check
Reviewed-by: kvn, twisti
2013-08-29 22:44:19 +04:00
Dmitry Samersoff
98c327bc7d 8009062: poor performance of JNI AttachCurrentThread after fix for 7017193
Don't re-evaluate stack bounds for main thread before install guard page

Reviewed-by: coleenp, dholmes, dlong
2013-08-29 21:48:23 +04:00
Lois Foltan
02440bce37 8022407: sun/misc/CopyMemory.java fails with SIGSEGV in Unsafe_SetByte+0x35
Lower optimization level for unsafe.cpp due to MacOS Xcode 4.6.2 compiler optimization issue.

Reviewed-by: coleenp, twisti, dholmes
2013-08-29 13:44:07 -04:00
Christine Lu
12275d364e Added tag jdk8-b105 for changeset 14a09ddd8d8b 2013-08-29 09:41:51 -07:00
Harold Seigel
1ff22f2ed9 8016764: JVM does not prohibit invokespecial in c.f.v 51.0 that invokes default interface method in c.f.v 52.0
Check cfv before allowing invokespecial call to default method.

Reviewed-by: kamg, acorn, dholmes
2013-08-29 10:33:13 -04:00
Jon Masamitsu
728a40bcdc Merge 2013-08-29 06:53:16 -07:00
Staffan Larsen
026aac8993 8023720: (hotspot) setjmp/longjmp changes the process signal mask on OS X
Reviewed-by: dholmes, rbackman
2013-08-29 11:05:55 +02:00
David Holmes
e5e78099db Merge 2013-08-29 00:22:13 -04:00
David Holmes
da2eb3d512 Merge 2013-08-28 21:42:14 -04:00
David Holmes
bdaf52c564 8023900: [TESTBUG] Initial compact profile test groups need adjusting
Reviewed-by: dcubed, mchung, hseigel
2013-08-28 19:25:18 -04:00
Jiangli Zhou
e66c07633c Merge 2013-08-28 12:01:04 -07:00
Bill Pittore
67ca3cb452 8023580: Add jtreg test for 8004051 and 8005722
Tests checks an assertion dealing with the number of args passed in registers

Reviewed-by: mseledtsov, kvn
2013-08-28 14:44:46 -04:00
Karen Kinnear
c0f4055c78 8020489: VM crash when non-existent interface called by invokespecial
Reviewed-by: kamg, coleenp
2013-08-28 08:15:01 -04:00
Martin Doerr
c678f0173a 8023597: Optimize G1 barriers code for unsafe load_store
Avoid loading old values in G1 pre-barriers for inlined unsafe load_store nodes.

Reviewed-by: kvn, tonyp
2013-08-28 11:22:43 +02:00
David Holmes
e60f7b3406 8006164: [TESTBUG] compact profile hotspot test issues
Define profile-based test groups.

Reviewed-by: dcubed, mchung
2013-08-27 22:05:53 -04:00
Jon Masamitsu
ce2d714a66 Merge 2013-08-27 18:55:33 -07:00
Ioi Lam
fefcbb92f2 Merge 2013-08-27 16:02:59 -04:00
Niclas Adlertz
e789f19ac1 Merge 2013-08-27 21:16:54 +02:00
Rickard Bäckman
a87950ce8d Merge 2013-08-27 19:37:39 +02:00
Yumin Qi
137cb8d4ee Merge 2013-08-27 07:54:05 -07:00
Jiangli Zhou
d5c5d05982 Merge 2013-08-27 04:58:58 -07:00
Karen Kinnear
1f882e206f Merge 2013-08-27 01:21:22 -07:00
Ioi Lam
345829043a Merge 2013-08-27 03:35:46 -04:00
Ioi Lam
63e8e67451 8020622: create.bat on Windows failed to create project file for Visual Studio 2012
Treat VS2012 the same as VS2010.

Reviewed-by: dcubed, kamg, minqi
2013-08-26 21:59:50 -07:00
Vladimir Ivanov
2ec967d54f Merge 2013-08-26 21:48:19 -07:00
Daniel D. Daugherty
54b3f19d2c Merge 2013-08-26 18:34:29 -07:00
Calvin Cheung
4415ae47cd 8020675: invalid jar file in the bootclasspath could lead to jvm fatal error
Removed offending EXCEPTION_MARK calls and code cleanup

Reviewed-by: dholmes, iklam, coleenp, mseledtsov
2013-08-26 14:11:26 -07:00
Jiangli Zhou
033640bd2c 8023477: Invalid CP index when reading ConstantPool
Need to check for 0 case for InstanceKlass::_generic_signature_index.

Reviewed-by: sspitsyn, sla
2013-08-26 13:32:14 -04:00
Karen Kinnear
38560368c1 8012294: remove generic handling for default methods
Reviewed-by: kamg, coleenp
2013-08-26 11:35:25 -04:00
Roland Westrelin
515a7df996 8016277: Crash in nmethod::is_compiled_by_c1() on x86
Method pointer for zombie methods may be invalid

Reviewed-by: kvn, coleenp
2013-08-26 16:12:20 +02:00
Stefan Karlsson
15464d7992 Merge 2013-08-26 07:01:23 -07:00
Aleksey Shipilev
9f4ed448a0 8023638: Add the regression test for 8006997
Add the relevant test and proofread the VM messages as well

Reviewed-by: coleenp, mseledtsov, dcubed
2013-08-26 17:42:03 +04:00
Vladimir Ivanov
4b7e40084c 8022595: JSR292: deadlock during class loading of MethodHandles, MethodHandleImpl & MethodHandleNatives
Reviewed-by: kvn, coleenp, dholmes
2013-08-26 17:41:05 +04:00
Vladimir Ivanov
90f8734631 8022456: LogCompilation tool does not work with C1 output again
Reviewed-by: kvn
2013-08-26 17:37:25 +04:00
Niclas Adlertz
be8c8aac48 8023691: Create interface for nodes in class Block
Create public methods for accessing the nodes in a block

Reviewed-by: kvn, roland
2013-08-26 12:50:23 +02:00
David Simms
618cb11a73 8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
Return NULL on OOM from GetStringChars, GetStringUTFChars and Get<PrimitiveType>ArrayElements family of functions.

Reviewed-by: dholmes, coleenp
2013-08-26 09:33:01 +02:00
Harold Seigel
6a548048a3 8022183: GCC 4.6 change sdefault setting for omit-frame-pointer which breaks hotspot stack walking
Explicitly specify -fno-omit-frame-pointer.

Reviewed-by: coleenp, dholmes, dcubed
2013-08-25 21:21:18 -04:00
Jon Masamitsu
a984bd23ad Merge 2013-08-23 15:59:20 -07:00
Chris Plummer
a8f6ab1f52 8020829: JT_HS: 2 runtime NMT tests fail on platforms if NMT detail is not supported
Make tests query a new WhiteBox API to see if NMT detail is supported, and behave properly if it is not supported.

Reviewed-by: dholmes, coleenp
2013-08-23 12:36:32 -07:00
Bill Pittore
993de8ba28 8014135: The JVMTI specification does not conform to recent changes in JNI specification
Added support for statically linked agents

Reviewed-by: sspitsyn, bobv, coleenp
2013-08-23 20:33:02 -04:00
Daniel D. Daugherty
3b29cc06ea Merge 2013-08-23 10:39:15 -07:00
Alejandro Murillo
6549fc2f25 8023635: new hotspot build - hs25-b48
Reviewed-by: jcoomes
2013-08-23 03:14:54 -07:00
Alejandro Murillo
d35ecfaa15 Added tag hs25-b47 for changeset 5ca7390c9649 2013-08-23 03:01:16 -07:00
Alejandro Murillo
f00f98f2cb Merge 2013-08-23 03:01:16 -07:00
Markus Grönlund
ea17b8decf 8023457: Event based tracing framework needs a mutex for thread groups
Reviewed-by: acorn, sla
2013-08-23 10:36:34 +02:00
Poonam Bajaj
626bd19644 Merge 2013-08-22 21:23:31 -07:00
Poonam Bajaj
7df53d2e04 Merge 2013-08-22 18:09:29 -07:00
Jiangli Zhou
e99b9a6afb Merge 2013-08-22 17:21:48 -07:00
Jiangli Zhou
5c6c0a8d1d 8023547: com/sun/jdi/RedefineMulti.sh fails with IllegalArgumentException after JDK-8021948
Need to check if the constant pool mapping returns 0.

Reviewed-by: coleenp, sspitsyn
2013-08-22 19:27:42 -04:00
Jon Masamitsu
2ef7b2abe3 Merge 2013-08-22 14:03:47 -07:00
Ioi Lam
2a3be6869b Merge 2013-08-22 13:53:13 -07:00
Staffan Larsen
c2f5861c47 Merge 2013-08-22 14:56:10 -04:00
Jon Masamitsu
892e74a87e Merge 2013-08-22 11:13:17 -07:00
Ioi Lam
f61c7dc88b 8023406: make/windows/build_vm_def.sh takes too long even when BUILD_WIN_SA != 1
Avoid dumping C++ vtable when BUILD_WIN_SA != 1

Reviewed-by: dcubed, sla, tbell
2013-08-22 10:20:50 -07:00
Rickard Bäckman
4cb52fc49d Merge 2013-08-22 18:37:14 +02:00
Christine Lu
9276e491e8 Added tag jdk8-b104 for changeset 78f23ea4586e 2013-08-22 09:10:01 -07:00
Harold Seigel
2df9b70f5e 7121403: [TESTBUG] runtime/7051189/Xchecksig.sh fails on 64bit solaris
8023393: Need to suppress info message if -Xcheck:jni used with libjsig.dylab on Mac OSX

Rewrite 7051189 test in Java, port Linux fix for 7051189 to Mac OSX.

Reviewed-by: coleenp, dholmes, mseledtsov, ccheung
2013-08-22 11:52:27 -04:00
Erik Helin
27e891247e 8020692: TestGCEventMixed.java failed because of timestamp in event after end event
Reviewed-by: mgerdin, stefank
2013-08-22 11:23:15 +02:00
Stefan Johansson
80fea6f305 8016155: SIGBUS when running Kitchensink with ParallelScavenge and ParallelOld
When using NUMA and large pages we need to ease the requirement on which node the memory should be allocated on. To avoid the SIGBUS we now use the memory policy MPOL_PREFERRED, which prefers a certain node, instead of MPOL_BIND, which requires a certain node.

Reviewed-by: jmasa, pliden
2013-08-22 10:50:41 +02:00
Vladimir Kempik
f3ca3801d9 8020530: Non heap memory size calculated incorrectly
Reviewed-by: coleenp, sla
2013-08-21 22:12:11 -07:00
Bengt Rutisson
120ca47539 Merge 2013-08-22 04:14:45 +02:00
Bengt Rutisson
4c3c3b6caa 8022872: G1: Use correct GC cause for young GC triggered by humongous allocations
Reviewed-by: tonyp, tschatzl
2013-08-21 22:35:56 +02:00
Roland Westrelin
f188c2bf70 7199175: JSR 292: C1 needs patching when invokedynamic/invokehandle call site is not linked
Do patching rather bailing out for unlinked call with appendix

Reviewed-by: twisti, kvn
2013-08-21 13:34:45 +02:00
Vladimir Kozlov
dac98bcc0d 8023472: C2 optimization breaks with G1
Set control edge for previous value load in G1 pre-barrier

Reviewed-by: twisti
2013-08-23 18:04:35 -07:00
Vladimir Kozlov
ccfb92c6a9 8012972: Incremental Inlining should support scalar replaced object in debug info
Store in _first_index not absolute index but an index relative to the last (youngest) jvms->_scloff value

Reviewed-by: roland, twisti
2013-08-23 11:41:37 -07:00
Staffan Larsen
1e740c466f 8022808: Kitchensink hangs on macos
Use pthread_mach_thread_np() instead of mach_thread_self() to avoid leaking resources

Reviewed-by: dholmes, rbackman
2013-08-21 13:18:52 +02:00
Daniel D. Daugherty
e951505eab 8023287: HOTSPOT_BUILD_COMPILER needs to support "Sun Studio 12u3"
Recognize 0x5120 as "Sun Studio 12u3".

Reviewed-by: dholmes, coleenp
2013-08-20 13:47:40 -07:00
Jiangli Zhou
9fab0cfa1b Merge 2013-08-20 00:48:55 -07:00
Rickard Bäckman
6ef251ac19 8022283: Assertion failed: assert(is_loaded() && field->holder()->is_loaded() && klass()->is_subclass_of (field->holder())) failed: invalid access
Reviewed-by: roland, twisti
2013-08-20 09:37:01 +02:00
Kevin Walls
6d662d543e Merge 2013-08-19 22:28:52 -07:00
Erik Helin
259a710013 Merge 2013-08-19 17:29:41 -07:00
Jiangli Zhou
553b498f51 8021948: Change InstanceKlass::_source_file_name and _generic_signature from Symbol* to constant pool indexes
Change InstanceKlass::_source_file_name and _generic_signature to u2 fields.

Reviewed-by: coleenp, iklam
2013-08-19 14:59:54 -04:00
Yumin Qi
056fb53c83 8023188: Unsafe volatile double store on bsd is broken
Reviewed-by: dcubed, dholmes
2013-08-19 09:16:35 -07:00
Kevin Walls
a40e2a9236 8022655: ClassDump ignored jarStream setting
Reviewed-by: minqi, sla
2013-08-19 14:28:58 +01:00
Daniel D. Daugherty
2c28ff340a Merge 2013-08-16 10:06:58 -07:00
Jon Masamitsu
d0aa753d99 8022817: CMS should not shrink if compaction was not done
Reviewed-by: ysr, mgerdin
2013-08-16 06:12:46 -07:00
Alejandro Murillo
92e079eae1 8023152: new hotspot build - hs25-b47
Reviewed-by: jcoomes
2013-08-16 04:24:07 -07:00
Stefan Karlsson
7ade7987a0 8007074: SIGSEGV at ParMarkBitMap::verify_clear()
Replace the broken large pages implementation on Linux. New flag: -XX:+UseTransparentHugePages - Linux specific flag to turn on transparent huge page hinting with madvise(..., MAP_HUGETLB). Changed behavior: -XX:+UseLargePages - tries to use -XX:+UseTransparentHugePages before trying other large pages implementations (on Linux). Changed behavior: -XX:+UseHugeTLBFS - Use upfront allocation of Large Pages instead of using the broken implementation to dynamically committing large pages. Changed behavior: -XX:LargePageSizeInBytes - Turned off the ability to use this flag on Linux and provides warning to user if set to a value different than the OS chosen large page size. Changed behavior: Setting no large page size - Now defaults to use -XX:UseTransparentHugePages if the OS supports it. Previously, -XX:+UseHugeTLBFS was chosen if the OS was configured to use large pages.

Reviewed-by: tschatzl, dcubed, brutisso
2013-08-16 13:22:32 +02:00
Alejandro Murillo
c70766c84b Added tag hs25-b46 for changeset 33c42f8baa1d 2013-08-16 04:14:13 -07:00
Alejandro Murillo
5485bef44e Merge 2013-08-16 04:14:12 -07:00
Bengt Rutisson
5075c7e128 Merge 2013-08-16 09:02:36 +02:00
Harold Seigel
4d91f4e69d 8003424: Enable Class Data Sharing for CompressedOops
8016729: ObjectAlignmentInBytes=16 now forces the use of heap based compressed oops
8005933: The -Xshare:auto option is ignored for -server

Move klass metaspace above the heap and support CDS with compressed klass ptrs.

Reviewed-by: coleenp, kvn, mgerdin, tschatzl, stefank
2013-08-15 20:04:10 -04:00
Christine Lu
e50bff5642 Added tag jdk8-b103 for changeset 31869efc272a 2013-08-15 09:25:33 -07:00
Rickard Bäckman
8db7a08b50 Merge 2013-08-15 15:26:16 +02:00
Erik Helin
8250719f92 Merge 2013-08-15 06:20:48 -07:00
Bengt Rutisson
c144b8c30f 8023021: Unnecessary clearing of the card table introduced by the fix for JDK-8023013
Reviewed-by: stefank, ehelin
2013-08-15 10:05:50 +02:00
Jon Masamitsu
9354b09906 8021809: Partitioning based on eden sampling during allocation not reset correctly
Reviewed-by: ysr, hiroshi
2013-08-14 19:52:16 -07:00
Thomas Schatzl
ae7845053f 8022784: TaskQueue misses minimal documentation and references for analysis
Add appropriate documentation and references to publication to allow easier analysis of the TaskQueue implementation.

Reviewed-by: dholmes, ehelin
2013-08-21 10:32:02 +02:00
Jon Masamitsu
4fe3c66318 Merge 2013-08-20 10:02:38 -07:00
Erik Helin
e5f563bfef 8023219: NPG: MetaspaceMemoryPool should report statistics for all of metaspace
Reviewed-by: stefank, sjohanss
2013-08-19 18:17:58 +02:00
Jon Masamitsu
b7f31f0375 Merge 2013-08-19 08:58:56 -07:00
Stefan Karlsson
8fc3bf8715 8023227: Enhance layout_helper_log2_element_size assert
Reviewed-by: mgerdin, jmasa
2013-08-19 13:44:13 +02:00
Bengt Rutisson
5e41090120 8023145: G1: G1CollectedHeap::mark_strong_code_roots() needs to handle ParallelGCThreads=0
Reviewed-by: stefank, mgerdin
2013-08-16 11:26:09 +02:00
Bengt Rutisson
befd51708b Merge 2013-08-15 13:02:42 -07:00
John Cuthbertson
f63547bf71 7145569: G1: optimize nmethods scanning
Add a list of nmethods to the RSet for a region that contain references into the region. Skip scanning the code cache during root scanning and scan the nmethod lists during RSet scanning instead.

Reviewed-by: tschatzl, brutisso, mgerdin, twisti, kvn
2013-08-15 10:52:18 +02:00
Ron Durbin
9d372e7801 8005073: [TESTBUG] remove crufty '_g' support from HS tests
Remove crufty '_g' support from HS tests

Reviewed-by: dcubed, sla
2013-08-14 15:12:00 -07:00
Vladimir Kozlov
20f7d1a82a 8022993: Convert MAX_UNROLL constant to LoopMaxUnroll C2 flag
Replace MAX_UNROLL constant with new C2 LoopMaxUnroll flag.

Reviewed-by: roland
2013-08-14 10:21:26 -07:00
Erik Helin
dab6bdc071 8022899: SunStudio compiler can not handle EXCEPTION_MARK and inlining
Reviewed-by: coleenp, mgerdin
2013-08-14 13:49:36 +02:00
Bengt Rutisson
253681b976 Merge 2013-08-14 10:55:45 +02:00
Bengt Rutisson
19ba466575 8022800: Use specific generations rather than generation iteration
Reviewed-by: jmasa, ehelin
2013-08-14 09:02:32 +02:00
Erik Helin
b42a7171ab 8020598: ObjectCountEventSender::send needs INCLUDE_TRACE guards when building OpenJDK with INCLUDE_TRACE=0
Reviewed-by: stefank, brutisso, sjohanss
2013-08-13 18:16:19 +02:00
Coleen Phillimore
a25f924de6 8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32
ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore

Reviewed-by: sspitsyn, dcubed, mseledtsov
2013-08-12 17:24:54 -04:00
Erik Helin
30f059b5fc 8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
2013-08-12 17:37:02 +02:00
Ioi Lam
5189d350c9 8022740: Visual 2008 IDE build is broken
Fixed project generation code, and added warning to upgrade to VS 2008 SP1.

Reviewed-by: dcubed, ccheung
2013-08-10 10:56:27 -07:00
Igor Ignatyev
ed4b026105 8019915: whitebox testClearMethodStateTest fails with tiered on sparc
'compileonly' directive has beens added to each 'compiler/whitebox' test

Reviewed-by: kvn
2013-08-10 10:01:12 +04:00
Daniel D. Daugherty
4d2ab5385c Merge 2013-08-09 15:36:09 -07:00
Daniel D. Daugherty
15aa5e3a57 Merge 2013-08-09 13:19:00 -07:00
Mikael Vidstedt
5fab892391 8022452: Hotspot needs to know about Windows 8.1 and Windows Server 2012 R2
Add support for recognizing Windows 8.1 and Server 2012 R2 and minor cleanup

Reviewed-by: coleenp, dsamersoff
2013-08-09 09:51:21 -07:00
Rickard Bäckman
cd450988cc Merge 2013-08-09 18:05:00 +02:00
Alejandro Murillo
7cea3820af 8022688: new hotspot build - hs25-b46
Reviewed-by: jcoomes
2013-08-09 01:39:11 -07:00
Alejandro Murillo
c27859fdda Added tag hs25-b45 for changeset 30045f9d9eb2 2013-08-09 01:32:48 -07:00
Alejandro Murillo
247f25e3d1 Merge 2013-08-09 01:32:47 -07:00
Yumin Qi
bf788959b7 Merge 2013-08-08 20:13:45 -07:00
Yumin Qi
418cc392cc 8019583: [TESTBUG] runtime/7107135 always passes
If java test return none zero, the value will be override by 'if' statement, the exit value will always '0' and pass. Fix by recording the result in a variable.

Reviewed-by: coleenp, dholmes, iklam
2013-08-08 15:19:12 -07:00
Rickard Bäckman
3a7c3cc018 Merge 2013-08-08 23:49:04 +02:00
Ioi Lam
617a84061c 8022093: syntax error near "umpiconninfo_t" -- when building on Solaris 10
Added extra help message in make/solaris/makefiles/dtrace.make

Reviewed-by: dholmes, sspitsyn
2013-08-08 14:45:56 -07:00
Christine Lu
9ac23677b2 Added tag jdk8-b102 for changeset d807cf45a710 2013-08-08 10:10:31 -07:00
Daniel D. Daugherty
ae5b50414a 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
ProjectCreator tool is modified to support two new options: '-relativeAltSrcInclude' and '-altRelativeInclude' which prevents IDE linker errors. Also fixed some cmd line build linker warnings. Misc cleanups.

Reviewed-by: rdurbin, coleenp
2013-08-08 09:21:30 -07:00
David Holmes
65115fab95 Merge 2013-08-08 08:29:28 -04:00
Rickard Bäckman
a231c31f38 8022675: Redundant class init check
Reviewed-by: kvn, twisti
2013-08-08 03:16:56 +02:00
Christian Thalinger
9e056eedc4 8022956: Clang: enable return type warnings on BSD
Reviewed-by: coleenp, sla
2013-08-20 10:57:50 -07:00
Rickard Bäckman
9c2ac55d23 Merge 2013-08-19 09:33:29 +02:00
Vladimir Kozlov
4ee53ef4e3 8021898: Broken JIT compiler optimization for loop unswitching
Fix method clone_projs() to clone all related MachProj nodes.

Reviewed-by: roland, adlertz
2013-08-16 14:11:40 -07:00
Igor Ignatyev
5ab8312aa5 Merge 2013-08-16 13:39:26 -04:00
Niclas Adlertz
a235ecb344 8023003: Cleanup the public interface to PhaseCFG
Public methods that don't need to be public should be private.

Reviewed-by: kvn, twisti
2013-08-16 10:23:55 +02:00
David Chase
5467bc74f8 8022441: Bad code generated for certain interpreted CRC intrinsics, 2 cases
Corrected details

Reviewed-by: kvn, twisti, rbackman
2013-08-15 11:59:19 -07:00
Igor Ignatyev
caa3d02130 8022832: Add WB APIs for OSR compilation
Reviewed-by: kvn
2013-08-14 23:50:23 +04:00
Igor Ignatyev
f9cf9e88b8 8016456: ciReplay test assumes TIERED compilation is available
Reviewed-by: vlivanov, kvn, dholmes
2013-08-16 17:34:37 +04:00
Niclas Adlertz
fc44cdf0ec 8022475: Remove unneeded ad-files
Remove .ad files that are not used

Reviewed-by: kvn
2013-08-07 18:04:42 +02:00
Niclas Adlertz
bfe8385fa9 8022284: Hide internal data structure in PhaseCFG
Hide private node to block mapping using public interface

Reviewed-by: kvn, roland
2013-08-07 17:56:19 +02:00
Krystal Mok
27f8eea2ea 8021771: warning stat64 is deprecated - when building on OSX 10.7.5
Stat64 have to be replaced with stat

Reviewed-by: dholmes, kmo
2013-08-07 19:02:06 +04:00
Erik Helin
3ea9481c2f 8014659: NPG: performance counters for compressed klass space
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
2013-08-07 16:47:32 +02:00
David Holmes
598af92521 Merge 2013-08-06 21:06:19 -07:00
Vladimir Danushevsky
ddf5fcb7c2 8012144: multiple SIGSEGVs fails on staxf
Forward port of 7u change to add additional fence() on RMO platforms, with a load_acquire on all platforms

Reviewed-by: dholmes, kvn
2013-08-06 20:01:40 -04:00
Serguei Spitsyn
4974d1aef2 7187554: JSR 292: JVMTI PopFrame needs to handle appendix arguments
Restore the appendix argument after PopFrame() call

Reviewed-by: twisti, coleenp
2013-08-06 16:33:59 -07:00
Omair Majid
6e609cbc64 8022188: Make zero compile after 8016131 and 8016697
Reviewed-by: dholmes, twisti
2013-08-06 12:28:46 -04:00
Dmitry Samersoff
68198af05c 8019396: SA-JDI OSThread class initialization throws an exception
Method sun.jvm.hotspot.runtime.OSThread.initialize throws a sun.jvm.hotspot.types.WrongTypeException

Reviewed-by: dholmes, mgerdin
2013-08-06 14:28:48 +04:00
Christian Thalinger
7107241178 8022029: GetUnsafeObjectG1PreBarrier fails on 32-bit with: Unrecognized VM option 'ObjectAlignmentInBytes=32'
Reviewed-by: kvn
2013-08-05 15:03:40 -07:00
Harold Seigel
82c3d36026 Merge 2013-08-05 08:55:06 -07:00
Rickard Bäckman
ae3b577a0e Merge 2013-08-05 17:15:35 +02:00
Kevin Walls
655fbf4cb1 8021444: SA: ClassDump.run() should not ignore existing ClassFilter
Reviewed-by: minqi, poonam
2013-08-05 10:27:31 +01:00
Harold Seigel
1d5b67ee67 7073961: [TESTBUG] closed/runtime/4845371/DBB.java failed on solaris 10 X65
Added a x86 64-bit Solaris shared library and rewrote test in Java

Reviewed-by: dholmes, ctornqvi
2013-08-04 16:30:53 -04:00
Christian Tornqvist
d31cb702e1 Merge 2013-08-02 22:34:43 +02:00
Albert Noll
fb2554e3f3 8021301: better event messages
Made event messages better readable

Reviewed-by: kvn, rbackman
2013-08-02 10:20:34 -07:00
Christian Tornqvist
5e4a34c49f Merge 2013-08-02 18:26:24 +02:00
Christian Tornqvist
cab1b96d23 8009585: test/runtime/7196045 times out
Test/runtime/7196045 times out

Reviewed-by: dholmes, mseledtsov
2013-08-02 18:12:10 +02:00
Daniel D. Daugherty
8119c54cae Merge 2013-08-02 08:32:05 -07:00
Kevin Walls
af0b21a0ad 8020943: Memory leak when GCNotifier uses create_from_platform_dependent_str()
Reviewed-by: mgerdin, fparain, dcubed
2013-08-02 12:26:46 +01:00
Alejandro Murillo
0c24c1a1fc 8022124: new hotspot build - hs25-b45
Reviewed-by: jcoomes
2013-08-02 03:06:19 -07:00
Alejandro Murillo
ac5648d33a Added tag hs25-b44 for changeset 7bf800505a10 2013-08-02 02:54:48 -07:00
Alejandro Murillo
820cd68d3f Merge 2013-08-02 02:54:47 -07:00
Tao Mao
6f445df42a Merge 2013-08-01 17:17:52 -07:00
Albert Noll
4ca00ef5a6 8020531: Test compiler/codecache/CheckUpperLimit.java fails when memory limited
Removed part of the test that required the VM to start up with -XX:ReservedCodeCacheSize=2048m

Reviewed-by: kvn, rbackman
2013-08-01 16:01:32 -07:00
Christian Tornqvist
6596ca7512 8009407: runtime/8000968/Test8000968.sh has incorrect check for proper config
Runtime/8000968/Test8000968.sh has incorrect check for proper config

Reviewed-by: coleenp, mseledtsov, sspitsyn, hseigel
2013-08-01 22:25:11 +02:00
Christian Tornqvist
00b23c2eb8 8014294: Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle
Assert in ThreadTimesClosure::do_thread() due to use of naked oop instead of handle

Reviewed-by: coleenp, sspitsyn
2013-08-01 22:20:00 +02:00
Mikhailo Seledtsov
fd111e0d53 8020614: OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output
OutputAnalyzer.shouldHaveExitValue() should print stdout/stderr output

Reviewed-by: kvn, ctornqvi, dholmes
2013-08-01 22:15:40 +02:00
Bengt Rutisson
fbf4750c28 8022051: G1: Remove some unused G1 flags
Reviewed-by: tschatzl, jmasa
2013-08-01 17:29:49 +02:00
Christine Lu
bba02437ae Added tag jdk8-b101 for changeset 612246822cf0 2013-08-01 04:56:11 -07:00
Bengt Rutisson
a1e1caf8ba 8021879: G1: G1HeapRegionSize flag value not updated correctly
Reviewed-by: tschatzl, jmasa
2013-08-01 09:35:04 +02:00
Bengt Rutisson
5a10114616 8021967: Deprecate -XX:DefaultMaxRAMFraction
Reviewed-by: tschatzl, jmasa, kvn, tamao
2013-08-01 07:03:07 +02:00
David Holmes
e6a94c002a Merge 2013-07-31 19:05:03 -04:00
Frederic Parain
c5c13b6ad7 Merge 2013-07-31 08:28:18 -07:00
Calvin Cheung
7e63c7bb0f 8021296: [TESTBUG] Test8017498.sh fails to find "gcc" and fails to compile on some Linux releases
Added checking for gcc and simplified the sig_handler() in the test case

Reviewed-by: dcubed, coleenp, minqi, dlong
2013-07-30 14:14:25 -07:00
Christian Thalinger
5555a381fb 8016474: Crash in sun.reflect.UnsafeObjectFieldAccessorImpl.get
C1's GetUnsafeObject G1 pre-barrier uses the wrong type to read the klass pointer.

Reviewed-by: iveresov, kvn
2013-07-29 16:32:38 -07:00
Igor Ignatyev
16b4f55129 8021120: TieredCompilation can be enabled even if TIERED is undefined
Reviewed-by: kvn, dholmes
2013-07-29 11:54:18 +04:00
Carlos Lucasius
eab4ed5adb Merge 2013-07-27 17:23:11 -04:00
Tao Mao
5ce100bbd1 Merge 2013-07-26 13:34:22 -07:00
Vladimir Kozlov
8e2181cb13 8008938: TieredCompilation should be default
Switch on TieredCompilation by default

Reviewed-by: twisti
2013-07-26 12:37:39 -07:00
Frederic Parain
b4094e9fa8 8019845: Memory leak during class redefinition
Reviewed-by: acorn, jmasa, coleenp, dcubed, mgerdin
2013-07-26 15:24:32 +00:00
Frederic Parain
6ede7eb0ed Merge 2013-07-26 05:54:01 -07:00
Alejandro Murillo
31b3d4939e 8021566: new hotspot build - hs25-b44
Reviewed-by: jcoomes
2013-07-26 04:01:41 -07:00
Alejandro Murillo
4180daed71 Added tag hs25-b43 for changeset b29dcea3e5a4 2013-07-26 03:48:16 -07:00
Alejandro Murillo
d92f0f1dc3 Merge 2013-07-26 03:48:15 -07:00
David Holmes
b3c95408b2 8021314: minimal1.make needs to force off components not supported by the minimal VM
Reviewed-by: coleenp, bpittore
2013-07-25 21:05:29 -04:00
Jiangli Zhou
eac2213397 Merge 2013-07-25 18:12:02 -04:00
Hiroshi Yamauchi
6060a2999c 6412968: CMS Long initial mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-25 11:07:23 -07:00
Jon Masamitsu
7d582a33d1 Merge 2013-07-25 07:02:45 -07:00
Christine Lu
c8e70c6dcc Added tag jdk8-b100 for changeset 9493b1a85536 2013-07-25 03:18:31 -07:00
David Holmes
6ade50a062 8020799: Allow customization of hotspot source directories and files
Reviewed-by: kvn, dlong
2013-07-24 19:23:26 -04:00
Morris Meyer
80b04bb48e Merge 2013-07-24 13:54:03 -07:00
Thomas Schatzl
93e5db7033 8020123: Test gc/g1/TestPrintRegionRememberedSetInfo.java fails with "test result: Error. No action after @build"
Remove the @build tag and replace it by a @run tag so that the test gets executed

Reviewed-by: brutisso, mgerdin
2013-07-24 10:07:37 +02:00
Yumin Qi
7f14f4a628 Merge 2013-07-24 08:04:15 +02:00
Yumin Qi
0840008f85 Merge 2013-07-23 12:50:15 -07:00
Hiroshi Yamauchi
5c9dbad612 6990419: CMS Remaining work for 6572569: consistently skewed work distribution in (long) re-mark pauses
Reviewed-by: rasbold, tschatzl, jmasa
2013-07-23 09:49:11 -07:00
Yunda
65d83871e2 8011888: sa.js: TypeError: [object JSAdapter] has no such function "__has__"
Reviewed-by: sla, sundar, kmo
2013-07-23 14:32:37 +02:00
Yumin Qi
aebaf1978d Merge 2013-07-22 22:21:57 -07:00
Eric McCorkle
dd70c34130 8019632: Method parameters are not copied in clone_with_new_data
Add code to copy method parameters data in clone_with_new_data

Reviewed-by: coleenp, sspitsyn
2013-07-22 17:57:42 -04:00
Calvin Cheung
3102612ca2 8020791: [TESTBUG] runtime/jsig/Test8017498.sh failed to compile native code
Added -DLINUX to the gcc command and improved the .sh script

Reviewed-by: dcubed, dholmes, minqi
2013-07-19 14:54:54 -07:00
Yumin Qi
2bee4db29d 8012263: ciReplay: gracefully exit & report meaningful error when replay data parsing fails
Find_method could return NULL so need explicitly check if there is error after parse_method, exit on error to avoid crash.

Reviewed-by: kvn, twisti
2013-07-19 14:43:45 -07:00
Morris Meyer
30902b737d Merge 2013-07-19 13:59:25 -07:00
Yumin Qi
e7cb3dfa22 Merge 2013-07-19 11:17:19 -07:00
Markus Grönlund
c6cbd09027 8020547: Event based tracing needs a UNICODE string type
Reviewed-by: egahlin, rbackman, dcubed, brutisso, acorn
2013-07-19 17:56:27 +02:00
David Holmes
aa91e0674a 8016538: volatile double access via Unsafe.cpp is not atomic
Volatile jdouble load/store is not atomic, fix by using of existing volatile jlong operations which are atomic for jdouble.

Reviewed-by: kvn, vladidan, jrose
2013-07-19 08:34:48 -07:00
Yumin Qi
a58e25d0b4 Merge 2013-07-18 18:00:39 -07:00
Calvin Cheung
1a1e83be6a 8004872: Early loading of HashMap and StringValue under -XX:+AggressiveOpts can be removed
This fix also removes the -XX:+UseStringCache option

Reviewed-by: dholmes, acorn, iklam
2013-07-18 14:57:51 -07:00
Daniel D. Daugherty
c2c0ba529a Merge 2013-07-18 12:35:55 -07:00
Daniel D. Daugherty
c421e7a0d3 Merge 2013-07-18 12:05:32 -07:00
Alejandro Murillo
0c344951cc 8020797: new hotspot build - hs25-b43
Reviewed-by: jcoomes
2013-07-18 09:35:02 -07:00
Alejandro Murillo
9a2397d3b9 Added tag hs25-b42 for changeset 72a811d263ec 2013-07-18 09:25:07 -07:00
Alejandro Murillo
18c3256b56 Merge 2013-07-18 09:25:06 -07:00
David Simms
71ca890b66 8020697: jniCheck.cpp:check_is_obj_array asserts on TypeArrayKlass::cast(aOop->klass())
Reviewed-by: dcubed, fparain, dholmes
2013-07-18 06:47:15 -04:00
Christine Lu
b2fe68d0a5 Added tag jdk8-b99 for changeset 009e3b20a47e 2013-07-18 03:38:10 -07:00
Carlos Lucasius
d1e961d31c Merge 2013-07-18 00:52:54 -04:00
Jiangli Zhou
3c7f50e9f2 Merge 2013-07-17 17:14:50 -07:00
Jiangli Zhou
3dfcb4125e 8020309: Eliminate InstanceKlass::_cached_class_file_len
Use JvmtiCachedClassFileData.

Reviewed-by: iklam, sspitsyn, dcubed
2013-07-17 18:06:29 -04:00
Calvin Cheung
ef70244a9a 8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20
Added (sig < MAXSIGNUM) check in jsig.c

Reviewed-by: dholmes, acorn
2013-07-17 12:22:57 -07:00
Rickard Bäckman
2d77390705 8020701: Avoid crashes in WatcherThread
Reviewed-by: acorn, dcubed, dsimms
2013-07-17 13:48:15 +02:00
David Katleman
6043666187 Merge 2013-07-16 15:15:43 -07:00