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
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
Vladimir Kozlov
2096fd712c
7004555: Add new policy for one iteration loops
...
Add new policy for one iteration loops (mostly formal pre- loops).
Reviewed-by: never
2011-04-08 14:56:22 -07:00
Jon Masamitsu
b147ec205b
Merge
2011-04-08 14:53:16 -07:00
Jon Masamitsu
b6e631d446
Merge
2011-04-08 14:19:50 -07:00
Tom Rodriguez
fe74e1ba6a
7034957: acquiring lock CodeCache_lock/1 out of order with lock tty_lock/0 -- possible deadlock
...
Reviewed-by: iveresov
2011-04-07 21:32:23 -07:00
Kelly O'Hair
7bf0d4d5cd
7019210: Fix misc references to /bugreport websites
...
Reviewed-by: skannan
2011-04-07 20:26:41 -07:00
John Coomes
f9b80cdc1c
6841742: par compact - remove unused/unsupported options
...
Ignore UseParallel{OldGCDensePrefix,OldGCCompacting,DensePrefixUpdate}
Reviewed-by: jwilhelm, brutisso
2011-04-07 17:16:20 -07:00
John R Rose
f8fe3457a5
7009600: JSR 292 Server compiler crashes in Compile::find_intrinsic(ciMethod*, bool)
...
Catch errors during the compile-time processing of method handles; back out cleanly
Reviewed-by: twisti
2011-04-07 17:12:23 -07:00
John R Rose
b95f04efbf
7012087: JSR 292 Misleading exception message for a non-bound MH for a virtual method
...
Improve error message formatting to give more information to user. Also, catch a corner case related to 6930553 and 6844449.
Reviewed-by: kvn
2011-04-07 17:12:21 -07:00
John R Rose
16784a72e8
6981791: remove experimental code for JSR 292
...
Reviewed-by: twisti
2011-04-07 17:02:30 -07:00
John Coomes
dadf395fbe
7034133: cleanup obsolete option handling
...
Reviewed-by: ysr, johnc, poonam
2011-04-07 16:52:15 -07:00
John Cuthbertson
a08e1ce906
7009266: G1: assert(obj->is_oop_or_null(true )) failed: Error
...
A referent object that is only weakly reachable at the start of concurrent marking but is re-attached to the strongly reachable object graph during marking may not be marked as live. This can cause the reference object to be processed prematurely and leave dangling pointers to the referent object. Implement a read barrier for the java.lang.ref.Reference::referent field by intrinsifying the Reference.get() method, and intercepting accesses though JNI, reflection, and Unsafe, so that when a non-null referent object is read it is also logged in an SATB buffer.
Reviewed-by: kvn, iveresov, never, tonyp, dholmes
2011-04-07 09:53:20 -07:00
Vladimir Kozlov
ed30132e8b
6992789: assert(phi->_idx >= nodes_size()) failed: only new Phi per instance memory slice
...
Swap checks: check for regular memory slice first and keep input phi.
Reviewed-by: never
2011-04-06 17:32:09 -07:00
Jon Masamitsu
b02fa2a90f
Merge
2011-04-06 16:02:53 -07:00
Tom Rodriguez
8a4683b5ed
7034513: enable fast accessors and empty methods for ZERO and -Xint
...
Reviewed-by: kvn, iveresov
2011-04-06 16:02:50 -07:00
Tom Rodriguez
4f41ea7fff
7033779: CodeCache::largest_free_block may need to hold the CodeCache lock
...
Reviewed-by: kvn
2011-04-05 19:16:52 -07:00
Tom Rodriguez
aac4647e6e
7032963: StoreCM shouldn't participate in store elimination
...
Reviewed-by: kvn
2011-04-05 19:14:03 -07:00
Erik Trimble
c9e484d473
7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
...
Update the copyright to be 2010 on all changed files in OpenJDK
Reviewed-by: ohair
2011-04-05 14:12:31 -07:00
Tom Rodriguez
14dcde9439
Merge
2011-04-05 02:31:46 -07:00
Tom Rodriguez
1a5a2ecd25
6777083: assert(target != __null,"must not be null")
...
Reviewed-by: iveresov, kvn
2011-04-05 00:31:09 -07:00
Vladimir Kozlov
073a00a4ca
Merge
2011-04-05 00:27:58 -07:00
Tom Rodriguez
3327aeff0c
6528013: C1 CTW failure with -XX:+VerifyOops assert(allocates2(pc),"")
...
Reviewed-by: kvn, iveresov
2011-04-04 19:03:35 -07:00
Vladimir Kozlov
3151573d39
7004547: regular loop unroll should not unroll more than max unrolling
...
Take into account that after unroll conjoined heads and tails will fold.
Reviewed-by: never
2011-04-04 19:02:36 -07:00
Tom Rodriguez
774ac503d0
7026957: assert(type2aelembytes(store->as_Mem()->memory_type(), true) == 1 << shift->in(2)->get_int()) failed
...
Reviewed-by: kvn, jrose
2011-04-04 12:57:04 -07:00
Gary Benson
80dfa0e342
7032458: Zero and Shark fixes
...
Reviewed-by: twisti
2011-04-04 03:02:00 -07:00
Roland Westrelin
f94d7776ca
7033154: Improve C1 arraycopy performance
...
Better static analysis. Take advantage of array copy stubs.
Reviewed-by: never
2011-04-03 12:00:54 +02:00
Vladimir Kozlov
00eca5e982
7004535: Clone loop predicate during loop unswitch
...
Clone loop predicate for clonned loops
Reviewed-by: never
2011-04-02 10:54:15 -07:00
Vladimir Kozlov
68f1177f59
7032314: Allow to generate CallLeafNoFPNode in IdealKit
...
Added CallLeafNoFPNode generation to IdealKit. Added i_o synchronization.
Reviewed-by: never
2011-04-02 09:49:27 -07:00
Tom Rodriguez
5cd8d5c115
6909440: C2 fails with assertion (_always_cold->is_cold(),"must always be cold")
...
Reviewed-by: kvn
2011-04-01 21:45:33 -07:00
Tom Rodriguez
3ad32dbe57
6385687: UseFastEmptyMethods/UseFastAccessorMethods considered harmful
...
Reviewed-by: kvn, jrose, phh
2011-03-31 21:05:55 -07:00
Vladimir Kozlov
f33b8cbb7a
7032849: 7022998 changes broke hs_err compile task print
...
Initialize the time stamp on ostream used for hs_err dumping.
Reviewed-by: never
2011-03-31 16:54:27 -07:00
Tom Rodriguez
99fefbc760
Merge
2011-03-31 15:30:12 -07:00
Tom Rodriguez
036560e999
7032129: Native memory usage grow unexpectedly for vm/oom/*InternedString tests
...
Reviewed-by: kvn, kamg, jcoomes
2011-03-31 14:00:41 -07:00
Vladimir Kozlov
0493606cdd
7032696: Fix for 7029152 broke VM
...
StrIntrinsicNode::Ideal() should not optimize memory during Parse.
Reviewed-by: jrose, never
2011-03-31 13:22:34 -07:00
Keith McGuigan
727612ede9
7030388: JCK test failed to reject invalid class check01304m10n
...
Restrict fix for 7020118 to only when checking exception handlers
Reviewed-by: dcubed, dholmes
2011-03-31 08:08:50 -04:00
Christian Thalinger
c9e2dcda4b
6817525: turn on method handle functionality by default for JSR 292
...
After appropriate testing, we need to turn on EnableMethodHandles and EnableInvokeDynamic by default.
Reviewed-by: never, kvn, jrose, phh
2011-03-31 02:31:57 -07:00
Igor Veresov
9d7277cbb2
Merge
2011-03-30 18:55:04 -07:00
Igor Veresov
65b52f04ae
6564610: assert(UseCompiler || CompileTheWorld, "UseCompiler should be set by now.")
...
Remove invalid asserts
Reviewed-by: never, kvn
2011-03-30 15:22:41 -07:00
Vladimir Kozlov
3ecb9f51df
7029152: Ideal nodes for String intrinsics miss memory edge optimization
...
In Ideal() method of String intrinsics nodes look for TypeAryPtr::CHARS memory slice if memory is MergeMem. Do not unroll a loop with String intrinsics code.
Reviewed-by: never
2011-03-30 12:08:49 -07:00
Dmitry Samersoff
52bf12aead
7017193: Small memory leak in get_stack_bounds os::create_stack_guard_pages
...
Getline() returns -1 but still allocate memory for str
Reviewed-by: dcubed, coleenp
2011-03-30 19:38:07 +04:00