197 Commits

Author SHA1 Message Date
Coleen Phillimore
991018b6b2 7049928: VM crashes with "assert(_adapter != NULL) failed: must have" at methodOop.cpp:63
Removed extra change from another bug fix that caused this regression

Reviewed-by: phh, dcubed, kvn, kamg, never
2011-06-02 14:17:48 -04:00
Coleen Phillimore
57769e3600 7033141: assert(has_cp_cache(i)) failed: oob
Unrewrite bytecodes for OOM error allocating the constant pool cache.

Reviewed-by: dcubed, acorn, never
2011-05-21 15:39:54 -07:00
Jon Masamitsu
6819e3739e 7041789: 30% perf regression with c2/arm following 7017732
Implement a more accurate is_scavengable()

Reviewed-by: stefank, jcoomes, ysr
2011-05-03 10:30:34 -07:00
Tom Rodriguez
249ae52324 7043040: JSR292: JRuby bench/shootout/binarytrees.ruby-2.ruby SEGV: constantPoolKlass::oop_follow_contents
Reviewed-by: kvn, ysr
2011-05-10 17:44:14 -07:00
Vladimir Kozlov
1ac79543d0 5091921: Sign flip issues in loop optimizer
Fix integer overflow problem in the code generated by loop optimizer.

Reviewed-by: never
2011-05-04 13:12:42 -07:00
Vladimir Kozlov
6d0283ed8e Merge 2011-04-29 11:15:30 -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
Coleen Phillimore
a2c2b262bc Merge 2011-04-19 20:40:20 -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
John Cuthbertson
7c844aba67 Merge 2011-04-14 13:45:41 -07: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
Jon Masamitsu
b6e631d446 Merge 2011-04-08 14:19:50 -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 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
Jon Masamitsu
b02fa2a90f Merge 2011-04-06 16:02:53 -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
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
Tom Rodriguez
fd8aac2f3c 7031614: jmap -permstat fails with java.lang.InternalError in sun.jvm.hotspot.oops.OopField.getValue
Reviewed-by: kvn, dcubed
2011-03-30 07:47:19 -07:00
Tom Rodriguez
2c72495789 7032306: Fastdebug build failure on Solaris with SS11 compilers
Reviewed-by: kvn, iveresov
2011-03-29 22:05:21 -07:00
John Coomes
fe899cc10d 6962931: move interned strings out of the perm gen
Reviewed-by: never, coleenp, ysr, jwilhelm
2011-03-22 13:36:33 -07:00
Tom Rodriguez
6e8a263a06 7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
2011-03-18 16:00:34 -07:00
John R Rose
f6344076f2 7012648: move JSR 292 to package java.lang.invoke and adjust names
Package and class renaming only; delete unused methods and classes

Reviewed-by: twisti
2011-03-11 22:34:57 -08:00
John R Rose
6146dffe45 6839872: remove implementation inheritance from JSR 292 APIs
Consolidate runtime support in java.dyn.MethodHandleNatives; include transitional compatibility logic

Reviewed-by: twisti
2011-03-11 22:33:47 -08:00
John R Rose
c506cb0e5b Merge 2011-03-11 21:19:15 -08:00
Igor Veresov
2114527fec 7020403: Add AdvancedCompilationPolicy for tiered
This implements adaptive tiered compilation policy.

Reviewed-by: kvn, never
2011-03-04 15:14:16 -08:00
Keith McGuigan
fac0855180 6845426: non-static <clinit> method with no args is called during the class initialization process
Only call <clinit> with ACC_STATIC for classfiles with version > 50

Reviewed-by: acorn, dholmes, coleenp
2011-03-04 14:40:46 -05:00
Coleen Phillimore
3ebf2446ee 7021653: Parfait issue in hotspot/src/share/vm/oops/methodDataOops.hpp
Fix compilation error(s)

Reviewed-by: kvn, phh, jcoomes, dholmes
2011-03-03 19:53:03 -05:00
Coleen Phillimore
a411df237d 6512830: Error: assert(tag_at(which).is_unresolved_klass(), "Corrupted constant pool")
Redefine classes copies the constant pool while the constant pool may be resolving strings or classes

Reviewed-by: dcubed, dsamersoff, acorn
2011-03-03 19:52:23 -05:00
Vladimir Kozlov
0ea15ed320 Merge 2011-02-23 11:18:16 -08:00
Robert Ottenhag
c4270e4517 Merge 2011-02-21 04:49:17 -08:00
Y. Srinivas Ramakrishna
4282af91a0 7030435: Some oop_oop_iterate_m() methods iterate outside of specified memory bounds
Filter ref-containing locations through the memory-interval specified in the call.

Reviewed-by: jcoomes, jwilhelm, tonyp
2011-03-24 15:45:27 -07:00
Antonios Printezis
57d8e5b8ba Merge 2011-02-14 22:21:18 -05:00
Y. Srinivas Ramakrishna
2c35cde750 7018302: newly added assert related to size of constantPoolOop causes secondary assertions or crashes
6912621 used a raw oop in the newly added assert following an allocation attempt that could result in a GC.

Reviewed-by: jmasa
2011-02-10 14:48:07 -08:00
Staffan Larsen
32b46da6e3 7017824: Add support for creating 64-bit Visual Studio projects
Updated create.bat and ProjectCreator

Reviewed-by: brutisso, stefank, ohair
2011-02-10 13:03:22 +01:00
Vladimir Kozlov
ddd4d3ad73 Merge 2011-02-14 14:36:29 -08:00
Christian Thalinger
01cc76e02d 7018673: Zero: 6953144, 6990754 and 7009756 made some changes which broke Zero
Reviewed-by: kvn, chrisphi, twisti
2011-02-11 03:17:53 -08:00
Igor Veresov
6782422f01 7017434: Tiered needs to support reprofiling
Tiered needs to support proper method reprofiling after deopts.

Reviewed-by: kvn
2011-02-09 16:34:34 -08:00
Stefan Karlsson
0c395c7799 7014851: Remove unused parallel compaction code
Removed.

Reviewed-by: jcoomes, brutisso
2011-02-08 12:33:19 +01:00
Y. Srinivas Ramakrishna
7eccb460db 6912621: iCMS: Error: assert(_markBitMap.isMarked(addr + 1),"Missing Printezis bit?")
Fix block_size_if_printezis_bits() so it does not expect the bits, only uses them when available. Fix block_size_no_stall() so it does not stall when the bits are missing such cases, letting the caller deal with zero size returns. Constant pool cache oops do not need to be unparsable or conc_unsafe after their klass pointer is installed. Some cosmetic clean-ups and some assertion checking for conc-usafety which, in the presence of class file redefinition, has no a-priori time boundedness, so all GCs must be able to safely deal with putatively conc-unsafe objects in a stop-world pause.

Reviewed-by: jmasa, johnc
2011-02-07 22:19:57 -08:00
Bob Vandette
31e3fe4a98 7016023: Enable building ARM and PPC from src/closed repository
Reviewed-by: dholmes, bdelsart
2011-02-02 11:35:26 -05:00
Christian Thalinger
6baa3e1f56 7012339: JSR 292 crash in G1SATBCardTableModRefBS::write_ref_field_pre_work()
Reviewed-by: jrose, never
2011-02-01 05:51:24 -08:00
Coleen Phillimore
7b4f8073f0 6990754: Use native memory and reference counting to implement SymbolTable
Move symbols from permgen into C heap and reference count them

Reviewed-by: never, acorn, jmasa, stefank
2011-01-27 16:11:27 -08:00
Daniel D. Daugherty
3f77a1ee13 Merge 2011-01-19 07:15:09 -08:00
Tom Rodriguez
423f587b01 4926272: methodOopDesc::method_from_bcp is unsafe
Reviewed-by: coleenp, jrose, kvn, dcubed
2011-01-13 22:15:41 -08:00
John Cuthbertson
65e391e30e Merge 2010-12-23 12:19:57 -08:00
Y. Srinivas Ramakrishna
41bf31bff4 6807801: CMS: could save/restore fewer header words during scavenge
Age bits need not enter the mark-word preservation calculus; also affected, in addition to CMS, per CR synopsis above, were ParNew (but not DefNew), ParallelScavenge and G1, albeit to a lesser degree than CMS.

Reviewed-by: tonyp, johnc
2010-12-17 23:41:31 -08:00
Coleen Phillimore
b2bc7d218f Merge 2010-12-16 09:31:55 -05:00
Igor Veresov
a4b8804ae0 Merge 2010-12-15 23:38:10 -08:00