3599 Commits

Author SHA1 Message Date
Lois Foltan
21627fb02f 8024804: Crash when InterfaceMethodref resolves to Object.registerNatives
Added check for NULL prior to continuation of method look up to avoid runtime crash during look up of Object's superclass' methods.

Reviewed-by: coleenp, hseigel
2013-10-16 14:32:05 -04:00
Karen Kinnear
72e7308263 8026299: invokespecial gets ICCE when it should get AME
Reviewed-by: ccheung, coleenp
2013-10-14 21:52:42 -04:00
Harold Seigel
7476c45011 8024667: VM crashes with "assert(method() != NULL) failed: must have set method"
Check if data is in shared spaces before deallocating it.

Reviewed-by: coleenp, dcubed
2013-10-12 15:39:16 -04:00
Calvin Cheung
6e756e193c Merge 2013-10-11 22:22:19 -04:00
Calvin Cheung
b6b00269d9 Merge 2013-10-11 18:23:44 -07:00
Harold Seigel
f185cdb61e Merge 2013-10-11 17:08:22 -04:00
Lois Foltan
27c290a969 8026041: JVM crashes with assert "assert(is_updated()) failed: must not be clear" with -XX:+PrintGCApplicationConcurrentTime in -Xcomp mode
Prior to printing the time interval in RuntimeService::record_safepoint_begin(), check first that VM initialization is complete.

Reviewed-by: coleenp, dholmes, sla, ctornqvi
2013-10-11 15:33:08 -04:00
Coleen Phillimore
65286ffc39 Merge 2013-10-11 15:04:53 -04:00
John Coomes
e61cbf8d69 Merge 2013-10-11 08:27:21 -07:00
Coleen Phillimore
fa72ad21f9 8022592: assert at constantTag.cpp:57: ShouldNotReachHere()
More missing cases for JVM_CONSTANT_Method{Handle,Type}InError

Reviewed-by: hseigel, dcubed
2013-10-11 11:23:49 -04:00
Fredrik Arvidsson
7f0264f548 8024425: VM_HeapDumper doesn't put anonymous classes in the heap dump
Switched from using SystemDictionary to using ClassLoaderDataGraph to get the anonymous classes included.

Reviewed-by: sla, sspitsyn
2013-10-11 14:08:02 +02:00
Coleen Phillimore
24118e5deb Merge 2013-10-09 22:01:59 -04:00
Coleen Phillimore
62fc4be9cb 8025185: MethodHandleInError and MethodTypeInError not handled in ConstantPool::compare_entry_to and copy_entry_to
Add missing cases.

Reviewed-by: sspitsyn, dcubed
2013-10-09 21:45:28 -04:00
Karen Kinnear
1514de31eb 8026185: nsk/jvmit/GetMethodDeclaringClass/declcls001 failed
Missed initialization. Thanks Coleen.

Reviewed-by: coleenp, minqi
2013-10-09 17:57:17 -04:00
Karen Kinnear
920880a243 8026022: Verifier: allow anon classes to invokespecial host class/intf methods
Reviewed-by: coleenp, bharadwaj
2013-10-08 16:58:23 -04:00
Kevin Walls
615cf8aecf Merge 2013-10-08 11:37:54 +02:00
Kevin Walls
c3d0e64506 8019375: Internal symbol table size should be tunable
Reviewed-by: coleenp, kamg
2013-10-08 09:33:51 +01:00
Mandy Chung
f9f9dd164a 8026025: JVM_GetCallerClass allows Reflection.getCallerClass(int depth) to use
Reviewed-by: alanb, dholmes, twisti
2013-10-08 02:56:06 -04:00
Karen Kinnear
088ded71f9 8009130: Lambda: Fix access controls, loader constraints
New default methods list with inherited superinterface methods

Reviewed-by: minqi, sspitsyn, coleenp
2013-10-07 12:20:28 -04:00
Stefan Karlsson
2cbd654963 8025996: Track metaspace usage when metaspace is expanded
Reviewed-by: coleenp, ehelin
2013-10-07 15:51:17 +02:00
Stefan Karlsson
55cbe80300 8024547: MaxMetaspaceSize should limit the committed memory used by the metaspaces
Reviewed-by: brutisso, jmasa, coleenp
2013-10-07 15:51:08 +02:00
Thomas Schatzl
30ed89669a 8003420: NPG: make new GC root for pd_set
Move protection domain oops from system dictionary entries into a seperate set; the system dictionary references entries in that set now. This allows fast iteration during non-classunloading garbage collection. Implementation based on initial prototype from Ioi Lam (iklam).

Reviewed-by: coleenp, iklam
2013-10-09 10:57:01 +02:00
Tao Mao
2d75de8b05 8010506: Typos and errors in descriptions of vm options in globals.hpp
Fix typos and errors in descriptions of vm options in globals.hpp

Reviewed-by: jmasa, jwilhelm
2013-10-09 11:18:53 -07:00
Mikael Gerdin
7f3b537807 8014555: G1: Memory ordering problem with Conc refinement and card marking
Add a StoreLoad barrier in the G1 post-barrier to fix a race with concurrent refinement. Also-reviewed-by: martin.doerr@sap.com

Reviewed-by: iveresov, tschatzl, brutisso, roland, kvn
2013-10-08 17:35:51 +02:00
Staffan Larsen
dcbbb4d37b 8025922: JNI access to Strings need to check if the value field is non-null
Reviewed-by: dholmes, dcubed
2013-10-05 15:18:57 +02:00
Mikael Gerdin
2a3f1d56d3 8025526: VirtualSpace should support per-instance disabling of large pages
Add a new initialization function to VirtualSpace which allows the caller to override the max commit granularity.

Reviewed-by: stefank, ehelin, tschatzl
2013-10-04 13:33:02 +02:00
Jesper Wilhelmsson
829ad9332b 8025854: Use "young gen" instead of "eden"
Changed a few descriptions and variable names to young gen.

Reviewed-by: tschatzl, jcoomes
2013-10-04 22:08:37 +02:00
Calvin Cheung
48a315bb52 Merge 2013-10-04 21:00:43 -07:00
Coleen Phillimore
afd39d536b Merge 2013-10-05 03:14:53 +02:00
Coleen Phillimore
916c31fb47 Merge 2013-10-05 00:58:43 +02:00
Coleen Phillimore
7527f79e6d Merge 2013-10-05 00:53:02 +02:00
John Coomes
875078a4e0 Merge 2013-10-04 13:37:25 -07:00
Coleen Phillimore
b08778e139 8025238: nsk/jvmti/scenarios/bcinstr/BI04/bi04t002 crashed with SIGSEGV
Redefined class in stack trace may not be found by method_idnum so handle null.

Reviewed-by: sla, dcubed, sspitsyn
2013-10-03 18:53:27 -04:00
Lois Foltan
e2466c1507 8025004: -XX:+CheckUnhandledOops asserts for JDK 8 Solaris fastdebug binaries
Remove unnecessary volatile keyword on stack locals within instanceKlass.cpp to work around Solaris Studio C++ compiler issue

Reviewed-by: coleenp, dcubed
2013-10-03 18:50:58 -04:00
Jesper Wilhelmsson
582aa55e4d 8025852: Remove unnecessary setters in collector policy classes
Use instance variables directly within the collector policy classes and remove unused setters.

Reviewed-by: tschatzl, jcoomes
2013-10-03 21:36:29 +02:00
Vladimir Danushevsky
09f1f55883 Merge 2013-10-03 10:35:32 -07:00
Jesper Wilhelmsson
11da59e506 8025853: Remove unnecessary uses of GenerationSizer
Removed stray includes and some minor cleanup of GenerationSizer

Reviewed-by: tschatzl, jcoomes
2013-10-03 17:16:23 +02:00
Joseph Provino
a1c9c2fe6f Merge 2013-10-03 10:25:54 -04:00
Igor Veresov
51a9303c03 Merge 2013-10-03 16:38:21 +04:00
Jesper Wilhelmsson
ed022aded1 8025855: Simplify GenRemSet code slightly
Remove a few redundant switch-statements

Reviewed-by: jcoomes, tschatzl
2013-10-03 13:19:19 +02:00
Mikael Vidstedt
a9927a8ee9 8024087: Remove dead JVM_{Get,Set}PrimitiveFieldValues functions
The two functions were used to support JDK 1.3 but are no longer in use

Reviewed-by: coleenp, ctornqvi, twisti, dsamersoff
2013-10-02 09:18:56 -07:00
Vladimir Ivanov
02e57a0152 8025233: Move sun.invoke.Stable into java.lang.invoke package
Reviewed-by: twisti, iveresov
2013-10-02 06:17:10 -07:00
Coleen Phillimore
6281e9bd76 Merge 2013-10-01 15:41:39 -04:00
Lois Foltan
67639e0b1a 8025570: Naked oop in test/serviceability/ParserTest
Fix for two naked objArrayOop(s) oops causing test failure

Reviewed-by: coleenp, ctornqvi
2013-10-01 14:23:07 -04:00
Zhengyu Gu
876ecd9acf Merge 2013-10-01 11:06:35 -04:00
Zhengyu Gu
81d4345cb8 Merge 2013-10-01 09:21:43 -04:00
Erik Helin
ce8f16808b 8025313: MetaspaceMemoryPool incorrectly reports undefined size for max
Reviewed-by: stefank, tschatzl
2013-10-01 15:21:14 +02:00
Zhengyu Gu
fb39220608 8022187: Missing ResourceMark crash when assertion using FormatBufferResource fails
Uses stack for the format buffer instead of resource memory

Reviewed-by: kvn, coleenp
2013-10-01 08:54:05 -04:00
Karen Kinnear
71a3a55630 8011311: Private interface methods. Default conflicts:ICCE. no erased_super_default
Reviewed-by: coleenp, bharadwaj, minqi
2013-10-01 08:10:42 -04:00
Bengt Rutisson
ac3d344514 8025605: G1: Heap expansion logging misleading for fully expanded heap
Reviewed-by: tschatzl, jwilhelm, jmasa
2013-10-01 07:52:52 +02:00