Commit Graph

2458 Commits

Author SHA1 Message Date
Erik Trimble
5f044f9de1 Merge 2011-05-03 16:03:37 -07:00
Erik Trimble
3ad5f6532c Added tag hs21-b10 for changeset 33e592b5ff17 2011-05-03 16:00:35 -07:00
Daniel D. Daugherty
544652776c 7041410: 5/4 finish removing SOLARIS_7_OR_LATER from HotSpot
Delete use of SOLARIS_7_OR_LATER from sparcWorks.make

Reviewed-by: never
2011-05-03 12:45:54 -07:00
Zhengyu Gu
07cf5c9b40 Merge 2011-05-03 12:19:04 -07:00
Tom Rodriguez
0ecc18851a 6796786: invalid FP identity transform - (a - b) -> b - a
Reviewed-by: iveresov, twisti
2011-05-03 12:11:54 -07:00
Zhengyu Gu
3c624bcfb1 Merge 2011-05-03 10:17:29 -07:00
Zhengyu Gu
56154746f3 6986065: Rebrand exe/dll company names
Fixed Windows exe/dll right-click properties. "Oracle Corporation" for company name in jdk7, but "Sun Microsystems, Inc." for jdk6.

Reviewed-by: phh, acorn
2011-05-03 13:01:41 -04:00
Dmitry Samersoff
dd299ffb44 Merge 2011-05-03 13:01:31 -04:00
Vladimir Kozlov
e1442309e1 7041100: The load in String.equals intrinsic executed before null check
Remove control from loads in String.equals intrinsic and cast argument to not-null.

Reviewed-by: never
2011-05-03 09:10:39 -07:00
Deepak Bhole
fb47d47b6f 7031385: incorrect register allocation in release_store_fence on linux x86
Since gcc 4.5 the inline assembly trying to use r register for an atomic 8-bit exchange and it leads to compilation error

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:43:18 +04:00
Omair Majid
d02acdc62a 7041156: gcc 4.6 doesn't recognise -export-dynamic option
Since -export-dynamic is a linker option, the correct way to pass it is -Xlinker -export-dynamic

Reviewed-by: dsamersoff, dholmes
2011-05-03 18:24:55 +04:00
Tom Rodriguez
33f0e50994 7009361: JSR 292 Invalid value on stack on solaris-sparc with -Xcomp
Reviewed-by: kvn, twisti
2011-05-02 18:53:37 -07:00
Daniel D. Daugherty
50d82a0f69 7028172: 3/4 SA needs to adapt to Solaris libproc change made in 6748307
Support build and runtime configs of old and new interfaces as appropriate.

Reviewed-by: acorn, never
2011-05-02 14:53:49 -07:00
Tom Rodriguez
dfc5561910 Merge 2011-05-02 10:51:36 -07:00
Suchen Chien
f2b6bcdcb9 Merge 2011-05-02 09:36:24 -07:00
Christian Thalinger
6bfb306487 6552561: MaxRecursiveInlineLevel flag doesn't operate correctly
Reviewed-by: kvn, never
2011-05-02 00:55:09 -07:00
Erik Trimble
caba73d1dd 7040777: Bump the HS21 build number to 11
Update the HS21 build number to 11

Reviewed-by: jcoomes
2011-04-29 17:00:19 -07:00
Erik Trimble
c99361768e Merge 2011-04-29 16:55:43 -07:00
Jon Masamitsu
0772441e15 Merge 2011-04-29 14:36:21 -07:00
Jon Masamitsu
f6dc8f6c3c Merge 2011-04-29 12:33:39 -07:00
Vladimir Kozlov
6d0283ed8e Merge 2011-04-29 11:15:30 -07:00
Dmitry Samersoff
b0269509f1 7019808: build fails on Fedora 14: SELinux run-time check: execution of stack in libjvm.so
Executable flag is set in the elf header of libjvm.so during build, instruct ld to don't do it.

Reviewed-by: acorn, phh
2011-04-29 21:13:00 +04:00
Bengt Rutisson
fbffd24fc5 7040068: CMS: Possibly unsafe initialization of BlockOffsetArrayUseUnallocatedBlock
BlockOffsetArrayUseUnallocatedBlock was intended to be turned off as part of BUG 6948538 but a code line in collectorPolicy.cpp actually kept it turned on.

Reviewed-by: jwilhelm, ysr
2011-04-29 09:11:03 +02:00
Jon Masamitsu
c01be49675 Merge 2011-05-02 07:08:53 -07:00
Igor Veresov
5c6475f522 Merge 2011-04-29 20:42:27 -07:00
Igor Veresov
2abb1bbd58 7040485: Use transparent huge page on linux by default
Turn on UseLargePages by default but try only HugeTLBFS method if it is not explicitly specified on the command line.

Reviewed-by: ysr
2011-04-29 12:39:32 -07:00
Antonios Printezis
10f6cc7fc3 7035144: G1: nightly failure: Non-dirty cards in region that should be dirty (failures still exist...)
We should only undirty cards after we decide that they are not on a young region, not before. The fix also includes improvements to the verify_dirty_region() method which print out which cards were not found dirty.

Reviewed-by: johnc, brutisso
2011-04-29 14:59:04 -04:00
Antonios Printezis
8c04c76193 7034139: G1: assert(Thread::current()->is_ConcurrentGC_thread()) failed: only a conc GC thread can call this
We were calling STS join and leave during a STW pause and we are not suppoesed to. I now only call those during  concurrent phase. I also added stress code in the non-product builds to force an overflows (the condition that ws uncovering the bug) to make sure it does not happen again.

Reviewed-by: johnc, brutisso
2011-04-29 12:40:49 -04:00
Suchen Chien
874944e5bc Added tag jdk7-b140 for changeset 33e592b5ff17 2011-04-28 17:44:24 -07:00
Vladimir Kozlov
2683d5390b 7039652: Performance regression after 7004547 changes
Use unrolled_count() to limit unrolling and use the stride check only for initial stride value.

Reviewed-by: never
2011-04-28 16:40:23 -07:00
John Cuthbertson
5b3550c107 7040410: -Xloggc:<file> incorrectly enables TraceClassUnloading causing tracing on tty
Don't enable TraceClassUnloading whne -Xloggc is specified.

Reviewed-by: tonyp, ysr
2011-04-28 15:29:18 -07:00
Tom Rodriguez
eb8db40092 7032162: assert(flat != TypePtr::BOTTOM) failed: cannot alias-analyze an untyped ptr
Reviewed-by: kvn
2011-04-28 14:00:13 -07:00
Daniel D. Daugherty
7d7755b8a4 7039447: 2/1 java profiling is broken in build 139 (garbage in function name)
The name in a deferred JVM/TI DynamicCodeGenerated event needs to be explicitly saved.

Reviewed-by: acorn, never, dsamersoff, dholmes
2011-04-28 08:24:46 -07:00
Christine Lu
8c555ebbcf Merge 2011-04-27 19:20:31 -07:00
Coleen Phillimore
0032ebd4ef Merge 2011-04-27 17:25:45 -07:00
Tom Rodriguez
2126589fd0 7029167: add support for conditional card marks
Reviewed-by: iveresov, kvn
2011-04-27 15:40:36 -07:00
John Cuthbertson
b777d36af8 7037756: Deadlock in compiler thread similiar to 6789220
Avoid blocking in CompileBroker::compile_method_base() if the current thread holds the pending list lock.

Reviewed-by: never, brutisso, ysr
2011-04-27 14:40:41 -07:00
Zhengyu Gu
6d9bd0f890 Merge 2011-04-27 06:20:00 -07:00
Zhengyu Gu
865413485d 7036747: 7017009 reappeared, problem with ElfStringTable
Created new "new" operator for CHeapObj that allows malloc to fail without causing fatal error. Also replaced "HeapAllocate" with "os::malloc" in decoder code to allow decoder to handle low memory scenario.

Reviewed-by: coleenp, dholmes
2011-04-27 09:09:57 -04:00
Y. Srinivas Ramakrishna
d86311b13c 7039089: G1: changeset for 7037276 broke heap verification, and related cleanups
In G1 heap verification, we no longer scan perm to G1-collected heap refs as part of process_strong_roots() but rather in a separate explicit oop iteration over the perm gen. This preserves the original perm card-marks. Added a new assertion in younger_refs_iterate() to catch a simple subcase where the user may have forgotten a prior save_marks() call, as happened in the case of G1's attempt to iterate perm to G1 refs when verifying the heap before exit. The assert was deliberately weakened for ParNew+CMS and will be fixed for that combination in a future CR. Also made some (non-G1) cleanups related to code and comments obsoleted by the migration of Symbols to the native heap.

Reviewed-by: iveresov, jmasa, tonyp
2011-04-26 21:17:24 -07:00
Kelly O'Hair
74225e1f34 6631003: Add hg tip changeset to build image
Reviewed-by: mduigou
2011-04-26 16:20:22 -07:00
Vladimir Kozlov
6c8fc4b347 7039586: test/java/util/Collections/Rotate.java failing with hs21-b09
A predicate should not be moved in partial peel optimization since it will invalidate jvm state of its uncommon trap.

Reviewed-by: never
2011-04-26 12:14:22 -07:00
Igor Veresov
e3121a5a43 7037939: NUMA: Disable adaptive resizing if SHM large pages are used
Make the NUMA allocator behave properly with SHM and ISM large pages.

Reviewed-by: ysr
2011-04-26 11:46:34 -07:00
Coleen Phillimore
ab86f12c44 7009923: JSR 292: VM crash in JavaThread::last_frame
Handle stack overflow before the first frame is called, by printing out the called method and not walking the stack.

Reviewed-by: dholmes, phh, dsamersoff
2011-04-26 14:04:43 -04:00
Tom Rodriguez
16d6414619 7030715: JSR 292 JRuby test/test_super_call_site_caching.rb asserts with +DoEscapeAnalysis
Reviewed-by: twisti
2011-04-25 16:25:58 -07:00
John Coomes
385e7253a7 7037250: cscope.make database generation is silently broken
Reviewed-by: stefank
2011-04-23 04:20:09 -07:00
Vladimir Danushevsky
e074254d05 Merge 2011-04-23 00:33:38 -04:00
Erik Trimble
1b20e61722 7039044: Bump the HS21 build number to 10
Update the HS21 build number to 10

Reviewed-by: jcoomes
2011-04-22 18:52:28 -07:00
Erik Trimble
6b2955ae93 Merge 2011-04-22 18:52:22 -07:00
Jon Masamitsu
9050363747 Merge 2011-04-22 09:26:09 -07:00
Erik Trimble
fc92df058d Added tag hs21-b09 for changeset 3d6edd0ae4e9 2011-04-21 19:49:49 -07:00
David Katleman
f86b47af7c Added tag jdk7-b139 for changeset 3d6edd0ae4e9 2011-04-21 15:32:54 -07:00
Jon Masamitsu
6663052a88 6946417: G1: Java VisualVM does not support G1 properly
Added counters for jstat

Reviewed-by: tonyp, jwilhelm, stefank, ysr, johnc
2011-04-21 10:23:44 -07:00
Vladimir Danushevsky
7610a8bf75 Merge 2011-04-21 10:12:42 -04:00
Y. Srinivas Ramakrishna
11badb92aa Merge 2011-04-21 01:16:20 -07:00
Christian Thalinger
868bf68a3e 6993078: JSR 292 too many pushes: Lesp points into register window
Reviewed-by: kvn, never
2011-04-21 00:25:40 -07:00
Jon Masamitsu
8328bb291e Merge 2011-04-20 20:32:45 -07:00
Y. Srinivas Ramakrishna
b4d40650b2 7037276: Unnecessary double traversal of dirty card windows
Short-circuited an unnecessary double traversal of dirty card windows when iterating younger refs. Also renamed some cardtable methods for more clarity.

Reviewed-by: jmasa, stefank, poonam
2011-04-20 19:19:30 -07:00
Vladimir Kozlov
abc5f94df7 7026700: regression in 6u24-rev-b23: Crash in C2 compiler in PhaseIdealLoop::build_loop_late_post
Memory slices should be always created for non-static fields after allocation

Reviewed-by: never
2011-04-20 18:29:35 -07:00
Andrew Haley
cf6f747d17 7034464: Support transparent large pages on Linux
Support transparent huge pages on Linux available since 2.6.38

Reviewed-by: iveresov, ysr
2011-04-20 17:12:04 -07:00
Vladimir Danushevsky
46259d93ba 7035861: linux-armsflt: assert(ni->data() == (int)(x + o)) failed: instructions must match
The change avoids generating relocation info entry for the staging area patching stub on systems that don't support movw/movt instructions

Reviewed-by: bdelsart
2011-04-20 14:07:57 -04:00
Tom Rodriguez
75eac4de0f 7009346: java/dyn/InvokeDynamicPrintArgs.java fails with NPE on solaris-sparc with -Xcomp
Reviewed-by: kvn, jrose, twisti
2011-04-20 09:29:00 -07:00
Coleen Phillimore
a2c2b262bc Merge 2011-04-19 20:40:20 -07:00
Antonios Printezis
12d1d9acc1 7011855: G1: non-product flag to artificially grow the heap
It introduces non-product cmd line parameter G1DummyRegionsPerGC which indicates how many "dummy" regions to allocate at the end of each GC. This allows the G1 heap to grow artificially and makes concurrent marking cycles more frequent irrespective of what the application that is running is doing. The dummy regions will be found totally empty during cleanup so this parameter can also be used to stress the concurrent cleanup operation.

Reviewed-by: brutisso, johnc
2011-04-19 15:46:59 -04:00
Tom Deneau
e8d2ed978f 7037812: few more defaults changes for new AMD processors
Use PREFETCHW as default prefetch instruction, set UseXMMForArrayCopy and UseUnalignedLoadStores to true by default.

Reviewed-by: kvn
2011-04-19 09:30:17 -07:00
John Cuthbertson
236207402d 7036706: G1: Use LIR_OprDesc::as_pointer_register in code changes for 7035117
Use LIR_OprDesc::as_pointer_register() instead as_register/as_register_lo combination in the code changes for 7035117.

Reviewed-by: iveresov
2011-04-18 16:27:16 -07:00
Kevin Walls
4fbaadca47 7005503: Make GuaranteedSafepointInterval a diagnostic flag
Reviewed-by: kamg, ysr
2011-04-18 08:03:45 -07:00
Christian Thalinger
7fb4bcc550 7036960: TemplateTable::fast_aldc in templateTable_x86_64.cpp uses movptr instead of load_klass
Reviewed-by: kvn, iveresov
2011-04-18 06:50:57 -07:00
Christian Thalinger
0b2d972fd3 7018355: JSR 292: VM crash in DefNewGeneration::copy_to_survivor_space
Reviewed-by: kvn, jrose
2011-04-18 01:33:28 -07:00
Tomas Hurka
34c1a8cd79 7007254: NullPointerException occurs with jvisualvm placed under a dir. including Japanese chars
Use java_lang_String::create_from_platform_dependent_str() instead of java_lang_String::create_from_str() in JvmtiEnv::AddToSystemClassLoaderSearch()

Reviewed-by: dcubed
2011-04-16 11:59:54 +02:00
Erik Trimble
f0b2f38989 7037174: Bump the HS21 build number to 09
Update the HS21 build number to 09

Reviewed-by: jcoomes
2011-04-15 18:23:27 -07:00
Erik Trimble
b143b66838 Merge 2011-04-15 18:23:20 -07:00
John Cuthbertson
f603d437be 7036021: G1: build failure on win64 and linux with hs21 in jdk6 build environment
Missing parentheses around a casted expression and some missing casts were causing build failures with the jdk6 build tools.

Reviewed-by: kvn, brutisso
2011-04-15 10:10:50 -07:00
John R Rose
8753dded1c Merge 2011-04-15 08:29:26 -07:00
Coleen Phillimore
8acea1848a 7032407: Crash in LinkResolver::runtime_resolve_virtual_method()
Make CDS reorder vtables so that dump time vtables match run time order, so when redefine classes reinitializes them, they aren't in the wrong order.

Reviewed-by: dcubed, acorn
2011-04-15 09:36:28 -04:00
Vladimir Danushevsky
2a5436b3d3 Merge 2011-04-14 23:06:33 -04:00
Erik Trimble
fa2b3a414e Added tag hs21-b08 for changeset dff699fcdf23 2011-04-14 17:53:28 -07:00
Suchen Chien
5f954ad7f2 Added tag jdk7-b138 for changeset dff699fcdf23 2011-04-14 15:21:45 -07:00
John Cuthbertson
3a33c2639e Merge 2011-04-14 13:49:29 -07:00
John Cuthbertson
7c844aba67 Merge 2011-04-14 13:45:41 -07:00
Y. Srinivas Ramakrishna
91657bd273 7036482: clear argument is redundant and unused in cardtable methods
Removed the unused clear argument to various cardtbale methods and unused mod_oop_in_space_iterate method. Unrelated to synopsis, added  a pair of clarifying parens in AllocationStats constructor.

Reviewed-by: brutisso, jcoomes
2011-04-14 12:10:15 -07:00
Zhengyu Gu
b3eb7daed6 7033100: CreateMinidumpOnCrash does not work for failed asserts
Passing NULL as MINIDUMP_EXCEPTION_INFORMATION when calling MiniDumpWriteDump when crash is due to assertion instead of real exception to avoid creating zero-length mini dump file.

Reviewed-by: acorn, dcubed, poonam, coleenp
2011-04-14 11:50:36 -04:00
Vladimir Danushevsky
0ab6045255 Merge 2011-04-14 11:02:05 -04:00
Christian Thalinger
2234bb04a7 Merge 2011-04-14 06:46:38 -07:00
Xerxes Ranby
c933c7d4f2 7036220: Shark fails to find LLVM 2.9 System headers during build
Reviewed-by: gbenson, twisti
2011-04-14 01:53:12 -07:00
Igor Veresov
3344bbfb29 7036236: VM crashes assert((!inside_attrs()) || is_error_reported()) failed ..
Eliminate the race condition.

Reviewed-by: kvn
2011-04-14 00:02:21 -07:00
John Cuthbertson
20a3437a74 7035117: G1: nsk/stress/jni/jnistress002 fails with assertion failure
Allow long type for offset in G1 code in compiler implementations of Unsafe.getObject

Reviewed-by: never, iveresov
2011-04-13 17:56:43 -07:00
Igor Veresov
aac4b1553e 6988308: assert((cnt > 0.0f) && (prob > 0.0f)) failed: Bad frequency assignment in if
Make sure cnt doesn't become negative and integer overflow doesn't happen.

Reviewed-by: kvn, twisti
2011-04-13 14:33:03 -07:00
Coleen Phillimore
3c4d3002f2 Merge 2011-04-12 14:18:53 -07:00
Vladimir Danushevsky
0c1e2baaec Merge 2011-04-12 10:32:42 -04:00
Gary Benson
5001776189 7035870: JSR 292: Zero support
This adds support for JSR 292 to Zero.

Reviewed-by: twisti
2011-04-12 02:40:23 -07:00
David Holmes
09c93cbb25 7034585: Adjust fillInStackTrace filtering to assist 6998871
Allow for one or more fillInStackTrace frames to be skipped

Reviewed-by: mchung, kvn
2011-04-12 02:53:06 -04:00
Vladimir Danushevsky
bea445368e 7005865: Crash when running with PrintIRWithLIR
The failure is caused by uninitialized bci number

Reviewed-by: iveresov
2011-04-11 23:02:37 -04:00
Tom Deneau
899faa3fec 7035713: 3DNow Prefetch Instruction Support
The upcoming processors from AMD are the first that support 3dnow prefetch without supporting the 3dnow instruction set.

Reviewed-by: kvn
2011-04-11 15:30:31 -07:00
Bengt Rutisson
2ea041a2b2 7034625: Product builds in Visual Studio projects should produce full symbol information
Add the /debug flag to the linker command in Visual Studio

Reviewed-by: mgronlun, poonam, hosterda
2011-04-11 11:12:41 +02:00
John R Rose
93459f517d 6987991: JSR 292 phpreboot test/testtracefun2.phpr segfaults
Make MH verification tests more correct, robust, and informative.  Fix lingering symbol refcount problems.

Reviewed-by: twisti
2011-04-09 22:55:25 -07:00
John R Rose
41745904a3 Merge 2011-04-09 21:16:12 -07:00
Tom Rodriguez
bbb0b31bfe 7035161: assert(!o->is_null_object()) failed: null object not yet handled here
Reviewed-by: kvn
2011-04-08 23:00:14 -07:00
Vladimir Kozlov
83ccc5e2c6 Merge 2011-04-08 20:52:28 -07:00
Igor Veresov
e8447846ee 7034967: C1: assert(false) failed: error (assembler_sparc.cpp:2043)
Fix -XX:+VerifyOops

Reviewed-by: kvn, never
2011-04-08 17:03:31 -07:00