Coleen Phillimore
7a409b13e0
8005056: NPG: Crash after redefining java.lang.Object
...
Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
2013-05-13 15:37:08 -04:00
Yumin Qi
9a1cd52a0f
Merge
2013-05-13 18:08:13 +00:00
Rickard Bäckman
2d6560721c
Merge
2013-05-13 07:53:45 +02:00
Yumin Qi
9b052f6f3e
Merge
2013-05-10 19:30:12 +00:00
Yumin Qi
c6aa9c656f
8003557: NPG: Klass* const k should be const Klass* k
...
With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
2013-05-10 08:27:30 -07:00
Stefan Karlsson
4562f6539d
Merge
2013-05-10 09:24:20 +02:00
Jiangli Zhou
fe9809cd8a
Merge
2013-05-09 16:27:51 -04:00
Jesper Wilhelmsson
3d6c526864
Merge
2013-05-09 12:23:43 +02:00
Bharadwaj Yadavalli
6b031570b6
8013875: Incorrect vtable index being set during methodHandle creation for static
...
Set vtable index as appropriate for static interface methods and for interface methods invoked via invokespecial. To be improved in a later enhancement to CallInfo.
Reviewed-by: jrose, twisti
2013-05-08 14:18:03 -07:00
Chris Hegarty
b22f700cdc
Merge
2013-05-08 15:25:08 +01:00
Rickard Bäckman
654953bc9a
8008255: jvmtiExport.cpp::post_to_env() does not check malloc() return
...
Reviewed-by: coleenp, dholmes, sla
2013-05-08 11:21:56 +02:00
Coleen Phillimore
c7e1bd3c28
Merge
2013-05-07 16:17:43 -07:00
Vladimir Danushevsky
287a1617db
Merge
2013-05-07 10:36:20 -04:00
Bill Pittore
de01ed0a09
8013633: Cleanup platform ifdefs in unsafe.cpp
...
Replace ifdefs with SUPPORTS_NATIVE_CX8 set in platform include file
Reviewed-by: dholmes, dlong
2013-05-07 10:19:33 -04:00
Coleen Phillimore
8320660846
8013063: nsk/jvmti/RetransformClasses/retransform001 failed debug version on os::free
...
Clear out class_file_bytes so they aren't deallocated twice
Reviewed-by: dcubed, sspitsyn
2013-05-07 09:46:15 -04:00
Staffan Larsen
fd1ead19be
8014044: Spelling error in JDK-8009615: boostrapmethod
...
Reviewed-by: sspitsyn, coleenp
2013-05-07 14:04:26 +02:00
Christian Thalinger
149097fbb7
7196277: JSR 292: Two jck/runtime tests crash on java.lang.invoke.MethodHandle.invokeExact
...
Reviewed-by: jrose, kvn
2013-05-06 13:53:13 -07:00
Staffan Larsen
f4c589b895
8009615: JvmtiClassFileReconstituter does not create BootstrapMethod attributes
...
Reviewed-by: coleenp, sspitsyn
2013-05-06 19:49:18 +02:00
Thomas Schatzl
9b9b515fb8
8006088: Incompatible heap size flags accepted by VM
...
Make processing of minimum, initial and maximum heap size more intiutive by removing previous limitations on allowed values, and make error reporting consistent. Further, fix errors in ergonomic heap sizing.
Reviewed-by: johnc, jwilhelm, tamao
2013-05-06 17:19:42 +02:00
Daniel D. Daugherty
79f4c78a72
Merge
2013-05-03 15:51:16 -07:00
Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Calvin Cheung
f88c429a69
8012641: Perf_CreateLong creates perf counter of incorrect type
...
Reviewed-by: mchung, hseigel, coleenp
2013-05-02 16:55:00 -07:00
Staffan Larsen
cd65b9e32e
8008453: JvmtiClassFileReconstituter does not recognize default methods
...
Reviewed-by: acorn, sspitsyn
2013-05-03 12:24:11 +02:00
Chris Hegarty
7040795490
Merge
2013-05-01 14:11:01 +01:00
Calvin Cheung
0f7adcc3d9
8011661: Insufficient memory message says "malloc" when sometimes it should say "mmap"
...
Reviewed-by: coleenp, zgu, hseigel
2013-04-30 11:56:52 -07:00
Mikael Vidstedt
9e8a3585b0
8012015: Use PROT_NONE when reserving memory
...
Reserved memory had PROT_READ+PROT_WRITE access on Linux/bsd, now changed to PROT_NONE.
Reviewed-by: dholmes, ctornqvi
2013-04-29 11:03:49 -07:00
Harold Seigel
2a692f80bf
8011773: Some tests on Interned String crashed JVM with OOM
...
Instead of terminating the VM, throw OutOfMemoryError exceptions.
Reviewed-by: coleenp, dholmes
2013-04-29 16:13:57 -04:00
Bharadwaj Yadavalli
32b042e285
Merge
2013-04-26 10:52:26 -07:00
Ioi Lam
4e19360f89
8008962: NPG: Memory regression: One extra Monitor per ConstantPool
...
Re-use InstanceKlass::_init_lock locking ConstantPool as well.
Reviewed-by: dholmes, coleenp, acorn
2013-04-25 12:55:49 -07:00
Serguei Spitsyn
333cf9a756
8007037: JSR 292: the VM_RedefineClasses::append_entry() should do cross-checks with indy operands
...
References from operands to CP entries and back must be correct after CP merge
Reviewed-by: coleenp, twisti
2013-04-25 03:58:53 -07:00
Bharadwaj Yadavalli
cadadd73c2
8012961: Do not restrict static interface methods to be private
...
Lambda changes; spec 0.6.2 - remove the restriction that was added as part of recent changes made to support upcoming changes to compilation of lambda methods.
Reviewed-by: dholmes, acorn
2013-04-23 08:12:14 -07:00
Igor Ignatyev
5733943877
8012337: Change Whitebox implementation to make absence of method in Whitebox.class not fatal
...
Reviewed-by: kvn, vlivanov
2013-04-25 11:04:36 -07:00
Serguei Spitsyn
87f3086e13
8008511: JSR 292: MemberName vmtarget refs to methods must be updated at class redefinition
...
Lazily create and maintain the MemberNameTable to be able to update MemberName's
Reviewed-by: coleenp, jrose, dholmes
2013-04-20 04:07:08 -07:00
Daniel D. Daugherty
dec02ae201
Merge
2013-04-19 13:48:54 -07:00
Bharadwaj Yadavalli
b32dc11760
Merge
2013-04-19 03:13:04 -04:00
Bharadwaj Yadavalli
f63b13e379
8006267: InterfaceMethod_ref should allow invokestatic and invokespecial
...
Lambda changes; spec 0.6.2 - Allow static invokestatic and invokespecial calls to InterfaceMethod_ref
Reviewed-by: dholmes, acorn
2013-04-18 08:05:35 -07:00
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04:00
Bharadwaj Yadavalli
c660647bfa
Merge
2013-04-11 17:16:39 -07:00
Igor Ignatyev
33e3f6b59b
8011971: WB API doesn't accept j.l.reflect.Constructor
...
Reviewed-by: kvn, vlivanov
2013-04-16 10:04:01 -07:00
Igor Ignatyev
ca90185607
8007288: Additional WB API for compiler's testing
...
Reviewed-by: kvn, vlivanov
2013-04-09 09:54:17 -07:00
Daniel D. Daugherty
78339229bb
Merge
2013-04-05 10:38:08 -07:00
Sean Mullan
6ebc920e1e
8001330: Improve on checking order
...
Reviewed-by: acorn, hawtin
2013-04-05 10:18:36 -04:00
Bharadwaj Yadavalli
4b9150eaf7
Merge
2013-04-04 17:01:34 -07:00
Mikael Vidstedt
eeb83733a6
8003310: Enable -Wunused-function when compiling with gcc
...
Add the -Wunused-function flag and remove a number of unused functions.
Reviewed-by: dholmes, coleenp, kvn
2013-04-04 10:01:26 -07:00
Leonid Mesnik
a4300aa98b
8009763: Add WB test for String.intern()
...
Add convenience method in StringTable, add WhiteBox method and simple sanity test
Reviewed-by: mgerdin, zgu
2013-04-02 11:28:33 +02:00
Krystal Mo
214b7d9dcf
8011009: Use do-while(0) instead of while(0) in EC_TRACE and RC_TRACE* macros
...
Improve EC_TRACE and RC_TRACE* to use the do-while(0) trick for statement-like macro
Reviewed-by: sspitsyn, dcubed
2013-03-30 08:01:05 -07:00
Bharadwaj Yadavalli
70314e1b01
Merge
2013-03-29 20:52:01 -07:00
Christian Tornqvist
c435269587
8009125: Add NMT tests for Virtual Memory operations
...
Tests added for Reserve/Commit/Uncommit/Unreserve operations
Reviewed-by: zgu, mgerdin
2013-04-03 21:41:33 +02:00
Joel Borggren-Franck
ee3ea81f65
8009382: Add JVM_Get{Field|Method}TypeAnnotations
...
Reviewed-by: dcubed, rbackman
2013-03-26 15:00:34 +01:00
Christian Thalinger
6964a690ed
7198429: need checked categorization of caller-sensitive methods in the JDK
...
Reviewed-by: kvn, jrose
2013-03-25 17:13:26 -07:00