Vladimir Kozlov
43fbbe98b7
Merge
2013-05-02 18:50:05 -07:00
Bharadwaj Yadavalli
f631e3d253
8013418: assert(i == total_args_passed) in AdapterHandlerLibrary::get_adapter since 8-b87
...
Do not treat static methods as miranda methods.
Reviewed-by: dholmes, acorn
2013-05-01 08:07:59 -07: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
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
Nils Eliasson
dedfcd5aa4
8012547: Code cache flushing can get stuck reclaming of memory
...
Keep sweeping regardless of if we are flushing
Reviewed-by: kvn, twisti
2013-04-29 13:20:19 +02: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
Coleen Phillimore
cd7d504d54
8011803: release_C_heap_structures is never called for anonymous classes
...
Call this function from the ClassLoaderData destructor instead of the system dictionary walk.
Reviewed-by: stefank, mgerdin
2013-04-24 16:19:35 -04:00
Roland Westrelin
6ae26f2e94
8010460: Interpreter on some platforms loads ConstMethod::_max_stack and misses extra stack slots for JSR 292
...
ConstMethod::max_stack() doesn't account for JSR 292 appendix.
Reviewed-by: kvn
2013-04-24 11:49:38 +02: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
Jiangli Zhou
2f703b2613
Merge
2013-04-15 21:25:23 -04:00
Bharadwaj Yadavalli
c660647bfa
Merge
2013-04-11 17:16:39 -07:00
Jiangli Zhou
56370657b9
8010862: The Method counter fields used for profiling can be allocated lazily
...
Allocate the method's profiling related metadata until they are needed.
Reviewed-by: coleenp, roland
2013-04-09 17:17:41 -04: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
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
Ioi Lam
ba2c11a93a
8011048: Possible reading from unmapped memory in UTF8::as_quoted_ascii()
...
Pass utf_length parameter to UTF8::as_quoted_ascii()
Reviewed-by: dcubed, minqi
2013-04-01 14:05:41 -07:00
Harold Seigel
e1383d4931
8010943: guarantee(length == 0) failed: invalid method ordering length
...
Add DumpSharedSpaces to IF condition to handle verify during -Xshare:dump.
Reviewed-by: coleenp, zgu
2013-04-04 08:47:39 -04:00
Karen Kinnear
8e1f6dce02
Merge
2013-03-27 16:31:00 -07:00
Karen Kinnear
b79e2c6803
8009731: Confusing error message for loader constraint violation
...
Fix text, overwritten type and holder for resolved method
Reviewed-by: coleenp, dcubed, minqi, dholmes
2013-03-27 14:10:59 -04:00
Coleen Phillimore
878c7e4cd0
8009531: Crash when redefining class with annotated method
...
Neglected to copy the annotations in clone_with_new_data when they were moved to ConstMethod.
Reviewed-by: acorn, sspitsyn, dcubed
2013-03-27 08:19:50 -04: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
Morris Meyer
e4b1cf5f02
Merge
2013-03-24 12:43:13 -07:00
Roland Westrelin
15178005e6
Merge
2013-03-21 22:00:14 -07:00
Morris Meyer
8d607b2446
Merge
2013-03-21 21:48:56 -07:00
Morris Meyer
6c55facb77
8009593: [parfait] Null pointer deference in hotspot/src/share/vm/oops/constantPool.cpp
...
Added guarantee() to print_entry_on()
Reviewed-by: kvn
2013-03-21 10:13:56 -07:00
Thomas Wuerthinger
06ef4cddf7
7153771: array bound check elimination for c1
...
When possible optimize out array bound checks, inserting predicates when needed.
Reviewed-by: never, kvn, twisti
2013-03-21 09:27:54 +01:00
Morris Meyer
c6d91fa2d9
8009022: [parfait] Null pointer deference in hotspot/src/share/vm/oops/generateOopMap.cpp
...
Add guarantee() checks to merge_state_into_bb()
Reviewed-by: kvn
2013-03-19 11:49:36 -07:00
Niclas Adlertz
e6e67652d9
8010121: Remove definition of ShouldNotReachHere2(msg)
...
Reviewed-by: kvn, stefank, rbackman, twisti
2013-03-19 10:31:16 +01:00
Ioi Lam
6f76ade8e1
8007725: NPG: Klass::restore_unshareable_info() triggers assert(k->java_mirror() == NULL)
...
Check for exception during SystemDictionary::resolve_instance_class_or_null() and clean up.
Reviewed-by: coleenp, acorn, hseigel, minqi
2013-03-15 17:24:40 -04:00
Coleen Phillimore
c5867cb71b
8003419: NPG: Clean up metadata created during class loading if failure
...
Store metadata on ClassFileParser instance to be cleaned up by destructor. This enabled some refactoring of the enormous parseClassFile function.
Reviewed-by: jmasa, acorn
2013-03-13 17:34:29 -04:00
Coleen Phillimore
70b26044ba
8009836: nsk/regression/b4222717 fails with empty stack trace
...
Some zeroing was missed for bug 8003553, causing empty stack traces and Xcom crashes, add back zeroing to metablock
Reviewed-by: dholmes, rbackman
2013-03-13 09:10:35 -04:00
Daniel D. Daugherty
fc336457e7
Merge
2013-03-08 17:49:52 -08:00
Coleen Phillimore
addd95f165
8003553: NPG: metaspace objects should be zeroed in constructors
...
Zero metadata in constructors, not in allocation (and some in constructors)
Reviewed-by: jmasa, sspitsyn
2013-03-08 11:47:57 -05:00
Morris Meyer
6723fac299
Merge
2013-03-07 14:46:20 -08:00
Harold Seigel
455fd39d49
7158805: Better rewriting of nested subroutine calls
...
Reviewed-by: mschoene, coleenp
2013-03-07 11:49:38 -05:00
Morris Meyer
15108cd14e
8008750: [partfait] Null pointer deference in hotspot/src/share/vm/oops/instanceKlass.hpp
...
Fix null pointer
Reviewed-by: kvn, coleenp
2013-03-05 18:03:36 -08:00
Volker Simonis
76fa595599
8008959: Fix non-PCH build on Linux, Windows and MacOS X
...
Fix the build without precompiled headers by either including the missing ".inline.hpp" files into the appropriate files or by turning inline-functions declared in header files into ordinary functions in ".cpp" files.
Reviewed-by: coleenp, stefank, dholmes
2013-02-27 09:40:30 +01:00
Coleen Phillimore
b8b9434a9f
8000797: NPG: is_pseudo_string_at() doesn't work
...
Zero Symbol* for constant pool strings to indicate pseudo_strings (objects that aren't strings). Clean up JVM_CONSTANT_Object and unused flags.
Reviewed-by: sspitsyn, jrose
2013-02-22 08:36:42 -05:00
Eric McCorkle
b56b3bc9aa
8007153: Ensure that MethodParameters API works properly with RedefineClasses
...
Adds code to HotSpot to properly update MethodParameter attributes' constant pool indexes when redefineClasses is called
Reviewed-by: coleenp, sspitsyn
2013-02-19 11:36:52 -05:00
Coleen Phillimore
faea95b8d3
8007320: NPG: move method annotations
...
Allocate method annotations and attach to ConstMethod if present
Reviewed-by: dcubed, jiangli, sspitsyn, iklam
2013-02-11 14:06:22 -05:00
Serguei Spitsyn
6ff685b4c8
Merge
2013-02-08 09:14:06 -08:00
Vladimir Danushevsky
ac1a75df8c
Merge
2013-02-07 20:40:14 -05:00
Bill Pittore
9cad40fca6
Merge
2013-02-07 16:05:48 -05:00
Vladimir Ivanov
268a4d605c
Merge
2013-02-07 12:23:51 -08:00
Daniel D. Daugherty
8ef946f380
7182152: Instrumentation hot swap test incorrect monitor count
...
Add/refine new tracing support using -XX:TraceRedefineClasses=16384.
Reviewed-by: coleenp, acorn, sspitsyn
2013-02-06 14:31:37 -08:00
Igor Ignatyev
014d9489bb
8006613: adding reason to made_not_compilable
...
Reviewed-by: kvn, vlivanov
2013-02-05 08:25:51 -08:00
Coleen Phillimore
3b65d23bc8
Merge
2013-02-04 13:51:01 -08:00