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
Keith McGuigan
222ac81222
7020373: JSR rewriting can overflow memory address size variables
...
Abort if incoming classfile's parameters would cause overflows
Reviewed-by: coleenp, dcubed, never
2011-04-12 16:42:26 -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
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
Coleen Phillimore
18324204ef
7006471: fix for 6988439 crashes when pending list lock is null
...
Missing null check in owns_pending_list_lock() because this can be called before pending_list_lock is initialized.
Reviewed-by: never, kvn
2010-12-14 15:10:52 -05:00
Coleen Phillimore
d2481f01f0
Merge
2010-12-13 14:46:51 -08:00
Coleen Phillimore
aa521ed9cd
6988439: Parallel Class Loading test deadlock involving MethodData_lock and Pending List Lock
...
Don't acquire methodData_lock while holding pending list lock
Reviewed-by: kvn, never, ysr
2010-12-10 12:13:03 -05:00
Dmitry Samersoff
d344b51209
6989076: JVM crashes in klassItable::initialize_itable_for_interface
...
Hotspot should check protection attribute besides the name and signature of the method when constructing vtable.
Reviewed-by: dcubed
2010-12-09 17:53:22 +03:00