Coleen Phillimore
f854e0370d
Merge
2011-07-07 22:34:34 -04:00
John Coomes
bf486b030a
7053189: remove some unnecessary platform-dependent includes
...
Reviewed-by: dholmes, never, jwilhelm, kvn
2011-07-07 15:44:34 -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
Ashok Srinivasa Murthy
774aa0130a
6951623: 3/3 possible performance problems in FollowReferences() and GetObjectsWithTags()
...
Call collect_stack_roots() before collect_simple_roots() as an optimization.
Reviewed-by: ysr, dsamersoff, dcubed
2011-06-29 20:28:58 -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
Ashok Srinivasa Murthy
bc408da53d
7043987: 3/3 JVMTI FollowReferences is slow
...
VM_HeapWalkOperation::doit() should only reset mark bits when necessary.
Reviewed-by: dsamersoff, ysr, dholmes, dcubed
2011-06-23 20:31:43 -07: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
Tom Rodriguez
5d2e4e676b
7055355: JSR 292: crash while throwing WrongMethodTypeException
...
Reviewed-by: jrose, twisti, bdelsart
2011-06-16 13:46:55 -07:00
Tom Rodriguez
ca8939dd80
Merge
2011-06-15 10:20:03 -07:00
Tom Rodriguez
0c0705ca8c
7052219: JSR 292: Crash in ~BufferBlob::MethodHandles adapters
...
Reviewed-by: twisti, kvn, jrose
2011-06-14 14:41:33 -07:00
Tom Rodriguez
a664e486bd
7045514: SPARC assembly code for JSR 292 ricochet frames
...
Reviewed-by: kvn, jrose
2011-06-03 22:31:43 -07:00
Coleen Phillimore
8f2d760f58
Merge
2011-06-02 21:01:48 -07:00
John R Rose
0ed03852e5
7049415: Failure of resolution of sym.reference to the c.s.s. should be wrapped in BootstrapMethodError
...
Delegate invokedynamic linkage errors to MethodHandleNatives.raiseException.
Reviewed-by: never
2011-06-01 23:25:20 -07:00
Tom Rodriguez
7cf200bd15
7047961: JSR 292 MethodHandleWalk swap args doesn't handle T_LONG and T_DOUBLE properly
...
Reviewed-by: kvn, jrose
2011-05-26 14:44:41 -07: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
Tom Rodriguez
f5e5b2b6e2
Merge
2011-05-17 19:15:34 -07:00
Tom Rodriguez
c2f2cb75fc
7045513: JSR 292 inlining causes crashes in methodHandleWalk.cpp
...
Reviewed-by: jrose
2011-05-17 19:11:51 -07:00
John R Rose
807e4b3dcf
7044892: JSR 292: API entry points sometimes throw the wrong exceptions or doesn't throw the expected one
...
Fix to 7042656: JSR292: invokeExact/Generic doesn't throw UnsupportedOperationException if invoked via Method.invoke
Reviewed-by: never
2011-05-17 15:43:46 -07:00
Bertrand Delsart
4b893d695b
7045515: ARM assembly code for JSR 292 ricochet frames
...
ARM ricochet port and minor fixes in shared debug code
Reviewed-by: jrose, vladidan
2011-05-17 16:50:27 +02:00
Christian Thalinger
db9005f0d3
6998541: JSR 292 implement missing return-type conversion for OP_RETYPE_RAW
...
Reviewed-by: jrose, kvn, never
2011-05-12 14:04:48 -07:00
Christian Thalinger
fee8d7fca4
7042122: JSR 292: adjust various inline thresholds for JSR 292 API methods and method handle adapters
...
Reviewed-by: jrose, never, kvn
2011-05-10 00:45:03 -07:00
Tom Rodriguez
9b9953cb0b
Merge
2011-05-06 19:34:55 -07:00
Tom Rodriguez
6aeaca98d1
6939861: JVM should handle more conversion operations
...
Reviewed-by: twisti, jrose
2011-05-06 16:33:13 -07:00
Keith McGuigan
d7fa132400
7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
...
Update JVMTI source files to remove hyperlinks and add full legal name
Reviewed-by: acorn, dcubed, dholmes
2011-05-05 12:50:42 -04:00
Keith McGuigan
cc15f4771e
Merge
2011-05-04 11:04:45 -04:00
Vladimir Kozlov
6d0283ed8e
Merge
2011-04-29 11:15:30 -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
Jon Masamitsu
8328bb291e
Merge
2011-04-20 20:32:45 -07:00
Coleen Phillimore
a2c2b262bc
Merge
2011-04-19 20:40:20 -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
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
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
3ad32dbe57
6385687: UseFastEmptyMethods/UseFastAccessorMethods considered harmful
...
Reviewed-by: kvn, jrose, phh
2011-03-31 21:05:55 -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
31ac558f3d
7029509: nightly failures after static fields in Class
...
Reviewed-by: kvn
2011-03-21 14:06:50 -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
Christian Thalinger
51f5142db1
Merge
2011-03-18 01:44:15 -07:00
Daniel D. Daugherty
c4e301bffa
7024970: 2/3 assert(ServiceThread::is_service_thread(Thread::current())) failed: Service thread must post enqueue
...
Change nmethod_lock() to also prevent zombification of the nmethod. CompiledMethodUnload events also need to lock the nmethod. Clean ups in nmethod::make_not_entrant_or_zombie()
Reviewed-by: dholmes, kamg, never, dsamersoff, ysr, coleenp, acorn
2011-03-15 06:37:31 -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
Karen Kinnear
224db84b31
Merge
2011-03-07 09:16:08 -08:00
Vladimir Kozlov
d7802369bc
Merge
2011-03-03 23:31:45 -08: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