Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Igor Veresov
0e0ba86cd8
Merge
2011-09-15 12:44:09 -07:00
Vladimir Kozlov
f99084037a
7090259: Fix hotspot sources to build with old compilers
...
Fixed warnings which prevent building VM with old compilers.
Reviewed-by: never
2011-09-13 20:28:00 -07:00
Tom Rodriguez
e3afdf10ad
7088955: add C2 IR support to the SA
...
Reviewed-by: kvn
2011-09-11 14:48:24 -07:00
Tom Rodriguez
e39ba1a5fe
7086585: make Java field injection more flexible
...
Reviewed-by: jrose, twisti, kvn, coleenp
2011-09-10 17:29:02 -07:00
Igor Veresov
67ba51cae8
Merge
2011-09-09 12:44:37 -07:00
Stefan Karlsson
bfa7e324d9
Merge
2011-09-09 14:44:43 +02:00
Christian Thalinger
439b75eb12
7085860: JSR 292: implement CallSite.setTargetNormal and setTargetVolatile as native methods
...
Reviewed-by: jrose, never
2011-09-08 05:11:31 -07:00
Y. Srinivas Ramakrishna
ed72e31727
4965777: GC changes to support use of discovered field for pending references
...
If and when the reference handler thread is able to use the discovered field to link reference objects in its pending list, so will GC. In that case, GC will scan through this field once a reference object has been placed on the pending list, but not scan that field before that stage, as the field is used by the concurrent GC thread to link discovered objects. When ReferenceHandleR thread does not use the discovered field for the purpose of linking the elements in the pending list, as would be the case in older JDKs, the JVM will fall back to the old behaviour of using the next field for that purpose.
Reviewed-by: jcoomes, mchung, stefank
2011-09-07 13:55:42 -07:00
Tom Rodriguez
32fd1b087d
7071307: MethodHandle bimorphic inlining should consider the frequency
...
Reviewed-by: twisti, roland, kvn, iveresov
2011-09-02 20:58:21 -07:00
Tom Rodriguez
fa7c124af1
7083786: dead various dead chunks of code
...
Reviewed-by: iveresov, kvn
2011-08-31 16:46:11 -07:00
Vladimir Kozlov
6446205688
7059037: Use BIS for zeroing on T4
...
Use BIS for zeroing new allocated big (2Kb and more) objects and arrays.
Reviewed-by: never, twisti, ysr
2011-08-26 08:52:22 -07:00
Tom Rodriguez
19f7fb98b8
7082949: JSR 292: missing ResourceMark in methodOopDesc::make_invoke_method
...
Reviewed-by: kvn, twisti
2011-08-25 20:29:30 -07:00
John Coomes
af31d0cf27
Merge
2011-08-19 14:08:18 -07:00
Christian Thalinger
134c40b4db
7071653: JSR 292: call site change notification should be pushed not pulled
...
Reviewed-by: kvn, never, bdelsart
2011-08-16 04:14:05 -07:00
Tom Rodriguez
aa16309657
7012081: JSR 292: SA-JDI can't read MH/MT/Indy ConstantPool entries
...
Reviewed-by: kvn, twisti, jrose
2011-07-21 08:38:25 -07:00
Vladimir Kozlov
9120c1e85c
Merge
2011-07-07 10:51:07 -07:00
John Coomes
ce3ae66eeb
Merge
2011-07-06 08:43:01 -07:00
Bengt Rutisson
3aaa5fb06d
7016112: CMS: crash during promotion testing
...
Also reviewed by mikael.gerdin@oracle.com ; stdlib:qsort() does byte-by-byte swapping on Windows. This leads to pointer shearing. Fix is to implement a quicksort that does full pointer updates.
Reviewed-by: never, coleenp, ysr
2011-06-28 14:23:27 +02:00
John R Rose
8df44305c7
7056328: JSR 292 invocation sometimes fails in adapters for types not on boot class path
...
Reviewed-by: never
2011-06-23 17:14:06 -07:00
Antonios Printezis
937d6ded89
6994322: Remove the is_tlab and is_noref / is_large_noref parameters from the CollectedHeap
...
Remove two unused parameters from the mem_allocate() method and update its uses accordingly.
Reviewed-by: stefank, johnc
2011-06-16 15:51:57 -04:00
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
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