Christian Thalinger
caf28727eb
6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
...
During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.
Reviewed-by: kvn, never
2010-01-04 18:38:08 +01:00
Christian Thalinger
3a896a1408
6894206: JVM needs a way to traverse method handle structures
...
We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers.
Reviewed-by: kvn
2010-01-04 15:52:40 +01:00
Erik Trimble
4909043745
Merge
2009-12-23 03:12:16 -08:00
Xiaobin Lu
ad61b86753
6899467: System property java.class.version out-of-sync with VM for jdk 5.0 with HS 16 in nightly build
...
Reviewed-by: kvn, never, dholmes, ysr
2009-12-16 13:16:08 -08:00
Christian Thalinger
fae9c37803
6829192: JSR 292 needs to support 64-bit x86
...
Changes for method handles and invokedynamic
Reviewed-by: kvn
2009-12-16 12:48:04 +01:00
Jon Masamitsu
c5b5e2e3a7
Merge
2009-12-11 08:39:30 -08:00
Y. Srinivas Ramakrishna
d875a8e0f1
6906727: UseCompressedOops: some card-marking fixes related to object arrays
...
Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17).
Reviewed-by: kvn, coleenp, jmasa
2009-12-03 15:01:57 -08:00
Igor Veresov
b5e3a7a597
Merge
2009-12-01 22:11:01 -08:00
Mandy Chung
b409d16477
6888880: JKernel VM to inject the sun.jkernel.DownloadManager as a boot classloader hook
...
Call sun.jkernel.DownloadManager.setBootClassLoaderHook during the kernel VM initialization
Reviewed-by: alanb, coleenp, acorn
2009-11-25 08:37:04 -08:00
Karen Kinnear
8b3ec53033
Merge
2009-11-23 16:24:35 -05:00
Tom Rodriguez
9db2092b1b
6892658: C2 should optimize some stringbuilder patterns
...
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00
Karen Kinnear
47748afed5
6893504: LinkageError for bootstrap duplicate class definitions
...
Reviewed-by: kamg, xlu
2009-11-11 15:49:38 -05:00
John R Rose
903247cf85
6858164: invokedynamic code needs some cleanup (post-6655638)
...
Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl
Reviewed-by: kvn
2009-10-30 16:22:59 -07:00
John R Rose
2134a92922
6815692: method handle code needs some cleanup (post-6655638)
...
Correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support
Reviewed-by: never, twisti
2009-10-17 19:51:05 -07:00
John Coomes
7e76feaf42
6888953: some calls to function-like macros are missing semicolons
...
Reviewed-by: pbk, kvn
2009-10-11 16:19:25 -07:00
Erik Trimble
8cea3ed3b4
Merge
2009-10-09 15:18:52 -07:00
John R Rose
f34acd6601
Merge
2009-09-30 13:25:39 -07:00
Erik Trimble
652ccb8d21
Merge
2009-09-25 12:17:06 -07:00
John R Rose
40d52710f6
Merge
2009-09-23 23:56:15 -07:00
Xiomara Jayasena
15f08eb80e
6884624: Update copyright year
...
Update copyright for files that have been modified in 2009 through Septermber
Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
Daniel D. Daugherty
2a4f284029
6419370: 4/4 new jmethodID code has tiny holes in synchronization
...
Fix races in jmethodID cache and JNI itable index cache.
Reviewed-by: ikrylov, acorn
2009-09-21 09:30:24 -06:00
Karen Kinnear
9ed976194b
6879572: SA fails _is_marked_dependent not found
...
Reviewed-by: kamg, dcubed
2009-09-16 15:42:46 -04:00
Karen Kinnear
27286386e9
Merge
2009-09-16 09:10:57 -04:00
John R Rose
e261aecad8
6863023: need non-perm oops in code cache for JSR 292
...
Make a special root-list for those few nmethods which might contain non-perm oops.
Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Vladimir Kozlov
5e31e14ea4
Merge
2009-09-14 11:45:03 -07:00
Karen Kinnear
488e99efd8
6830542: Performance: JVM_DefineClass already verified
...
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00
Andrey Petrusenko
9ae6fb796e
Merge
2009-09-04 05:31:37 -07:00
Christian Thalinger
b357ca3ad1
6865583: Verbose CIPrintMethodCodes asserts when ldc an empty String
...
Ldc seems to load an empty String and that leads to an assert on offset < length, which are both zero.
Reviewed-by: kvn, never
2009-08-27 06:17:23 -07:00
Changpeng Fang
ff9a1bddb5
6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
...
Use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams
Reviewed-by: kvn, never, twisti
2009-08-20 12:42:57 -07:00
Vladimir Kozlov
ab7a29cdcc
Merge
2009-08-06 09:37:26 -07:00
Changpeng Fang
ae00753bf7
6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
...
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens
Reviewed-by: kvn, never, jrose, twisti
2009-07-31 17:12:33 -07:00
John Coomes
e7c70c499b
6845368: large objects cause a crash or unexpected exception
...
Reviewed-by: jmasa, iveresov
2009-08-13 16:22:45 -07:00
John Coomes
662adda5e6
6861660: OopMapBlock count/size confusion
...
Reviewed-by: tonyp, iveresov
2009-08-11 15:37:23 -07:00
Coleen Phillimore
76a4e2a8c1
Merge
2009-07-30 15:06:19 -04:00
Erik Trimble
e846382e12
Merge
2009-07-29 16:00:35 -07:00
Xiomara Jayasena
a63ef10004
6862919: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 07/09
Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Coleen Phillimore
3e69a71772
Merge
2009-07-27 17:23:52 -04:00
John R Rose
6515225d49
6862576: vmIntrinsics needs cleanup in order to support JSR 292 intrinsics
...
Remove useless lazy evaluation of intrinsics; add LAST_COMPILER_INLINE to help categorize them
Reviewed-by: kvn
2009-07-21 16:56:06 -07:00
Mandy Chung
08f5aeffc1
6857194: Add hotspot perf counters to aid class loading performance measurement
...
Add new jvmstat counters to measure detailed class loading time
Reviewed-by: acorn, kamg
2009-07-10 11:10:00 -07:00
Christian Thalinger
6a270f9f19
6823354: Add intrinsics for {Integer,Long}.{numberOfLeadingZeros,numberOfTrailingZeros}()
...
These methods can be instrinsified by using bit scan, bit test, and population count instructions.
Reviewed-by: kvn, never
2009-05-06 00:27:52 -07:00
John R Rose
34c1d72421
6655646: dynamic languages need dynamically linked call sites
...
Invokedynamic instruction (JSR 292 RI)
Reviewed-by: twisti, never
2009-04-21 23:21:04 -07:00
Tom Rodriguez
617835c850
6741757: minor ctw improvements
...
Reviewed-by: kvn
2009-04-16 21:25:29 -07:00
John R Rose
ce0c084720
6655638: dynamic languages need method handles
...
Initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.)
Reviewed-by: kvn, twisti, never
2009-04-08 10:56:49 -07:00
Changpeng Fang
c0d62ad9e6
6761600: Use sse 4.2 in intrinsics
...
Use SSE 4.2 in intrinsics for String.{compareTo/equals/indexOf} and Arrays.equals.
Reviewed-by: kvn, never, jrose
2009-03-31 14:07:08 -07:00
Vladimir Kozlov
aee9449305
Merge
2009-03-31 10:02:01 -07:00
Vladimir Kozlov
705188bb7b
6821700: tune VM flags for peak performance
...
Tune C2 flags default values for performance.
Reviewed-by: never, phh, iveresov, jmasa, ysr
2009-03-30 18:19:31 -07:00
Karen Kinnear
101468324d
6603316: Improve instrumentation for classes loaded at startup
...
Reviewed-by: xlu, mchung
2009-03-25 13:09:28 -04:00
Paul Hohensee
5231fcdc40
6810653: Change String cache class used by Hotspot from String to StringValue
...
Change create_vm() to load and initialize StringValue rather than String.
Reviewed-by: kvn
2009-03-24 21:56:53 -04:00
Karen Kinnear
472349069b
Merge
2009-03-23 10:42:20 -04:00
John R Rose
cfb08c72ba
6814659: separable cleanups and subroutines for 6655638
...
Preparatory but separable changes for method handles
Reviewed-by: kvn, never
2009-03-20 23:19:36 -07:00