Coleen Phillimore
e57692c642
8163969: Cyclic interface initialization causes JVM crash
...
Fix interface initialization to follow spec: interface initializations do not set initialization state of interfaces that extend them.
Reviewed-by: dholmes, acorn, lfoltan
2016-09-21 09:56:18 -04:00
Calvin Cheung
f9707ab4cd
8164011: --patch-module support for CDS
...
Allows the use of the --patch-module vm option with CDS. However, classes found in --patch-module during dump time will not be archived.
Reviewed-by: iklam, dcubed, lfoltan
2016-09-20 10:37:19 -07:00
Jiangli Zhou
eb52950704
8078644: CDS needs to support JVMTI CFLH
...
Support posting CLFH for shared classes. Tests are contributed by Misha Seledtsov.
Reviewed-by: iklam, coleenp, acorn, dcubed, sspitsyn
2016-09-18 21:10:48 -04:00
Gerard Ziemski
ba4a3fbd20
8136766: Enable ThreadStackSize range test
...
Re-enabled max range check for StackSize runtime options
Reviewed-by: dcubed
2016-09-16 12:09:53 -05:00
Harold Seigel
228097de7c
8149607: [Verifier] Do not verify pop, pop2, swap, dup* against top
...
Throw VerifyError exception if type top is illegally popped from the stack.
Reviewed-by: coleenp, acorn, ddmitriev
2016-09-14 10:02:49 -04:00
George Triantafillou
d624da8942
8165889: Remove jdk.test.lib.unsafe.UnsafeHelper
...
Remove use of setAccessible() to get Unsafe.
Reviewed-by: shade, lfoltan
2016-09-14 08:17:50 -04:00
Chris Plummer
69c242a5cb
Merge
2016-09-13 18:22:21 +00:00
Chris Plummer
7d78c51cd8
Merge
2016-09-13 17:22:28 +00:00
Robbin Ehn
2a22a8359b
Merge
2016-09-13 19:17:21 +02:00
Max Ockner
91140d95d2
Merge
2016-09-13 18:19:05 +02:00
Max Ockner
6b056f929d
8163014: Mysterious/wrong value for "long" frame local variable on 64-bit
...
The high byte of a long variable on a 64-bit platform is now zeroed when it is pushed to stack.
Reviewed-by: coleenp, dlong
2016-09-13 11:04:29 -04:00
David Simms
1c2da5f5ed
8164086: Checked JNI pending exception check should be cleared when returning to Java frame
...
Transitions to Java clear the pending pointer
Reviewed-by: dholmes, neliasso, coleenp
2016-09-13 09:04:44 +02:00
Harold Seigel
37c77e03d3
8165634: Support multiple --add-modules options on the command line
...
Use numbered properties for --add-module options so that multiple --add-module options can be supported.
Reviewed-by: coleenp, gziemski, lfoltan, ccheung
2016-09-10 08:25:51 -04:00
Ron Durbin
2bb3bc6449
8140520: segfault on solaris-amd64 with "-XX:VMThreadStackSize=1" option
...
Split the single thread_min_stack_allowed into three distinct values (java_thread_min_stack_allowed, compiler_thread_min_stack_allowed and vm_internal_thread_min_stack_allowed) on non-Windows platforms.
Reviewed-by: dcubed, gthornbr, dholmes, coleenp, fparain, aph
2016-09-09 11:14:57 -07:00
Coleen Phillimore
3c2621dbdd
8165246: [REDO] InstanceKlass::_previous_version_count goes negative
...
Make _has_previous_version a boolean that is set to true when previous version of a class is added or during class unloading call to purge_previous_versions
Reviewed-by: gtriantafill, dcubed, sspitsyn
2016-09-07 15:25:21 -04:00
Harold Seigel
e8e6415b7a
8058575: IllegalAccessError trying to access package-private class from VM anonymous class
...
Put anonymous classes in unnamed package into host class's package. Throw exception if host class's package differs from anonymous class.
Reviewed-by: coleenp, acorn
2016-09-07 07:19:48 -04:00
Harold Seigel
0fd1f32873
8162412: Ignore any System property specified as -Djdk.module that matches reserved module system properties
...
Change the checks for module related properties to look for specific properties, not just jdk.module
Reviewed-by: coleenp, gziemski, ddmitriev
2016-08-31 10:27:32 -04:00
Coleen Phillimore
31d8fcc4f9
8164692: InstanceKlass::_previous_version_count goes negative
...
Decrement previous_version_count when it's removed from the list.
Reviewed-by: dcubed, dlong, sspitsyn
2016-08-31 06:35:19 -04:00
Coleen Phillimore
157487a153
Merge
2016-09-02 00:08:18 +00:00
Alejandro Murillo
199b53c0b1
Merge
2016-09-01 15:20:56 -07:00
Coleen Phillimore
f03ab592cc
8165268: [BACKOUT] InstanceKlass::_previous_version_count goes negative
...
Reviewed-by: dcubed
2016-09-01 18:02:13 -04:00
Alejandro Murillo
929ce0118a
Merge
2016-09-01 14:09:01 -07:00
Alejandro Murillo
aecf372724
Merge
2016-08-31 09:22:53 -07:00
Mandy Chung
d2d5a91ec4
8160851: Remove old launcher module-related options
...
Reviewed-by: alanb
2016-08-30 17:48:27 -07:00
Goetz Lindenmaier
010d9bf7df
8165315: [ppc] Port "8133749: NMT detail stack trace cleanup"
...
Also add methods to check for slow/fastdebug to Platform.java.
Reviewed-by: simonis, cjplummer, dholmes
2016-08-30 16:08:52 +02:00
Rachel Protacio
1618785868
Merge
2016-08-25 13:48:42 +00:00
Rachel Protacio
c6c1bee762
8148854: Class names "SomeClass" and "LSomeClass;" treated by JVM as an equivalent
...
Added default format checking of class names loaded by the app class loader
Reviewed-by: coleenp, lfoltan
2016-08-25 09:23:45 -04:00
Christian Tornqvist
820b9e7a16
8164737: Remove Unsafe dependency from ProcessTools
...
Reviewed-by: gtriantafill, dholmes
2016-08-25 08:40:53 -04:00
Robbin Ehn
3b1c3587d9
8164208: Update tests with redefine classes UL options and tags
...
Reviewed-by: coleenp, gtriantafill
2016-08-24 20:38:21 +02:00
Christian Tornqvist
1d929d1259
8155964: Create a set of tests for verifying the Minimal VM
...
Reviewed-by: gtriantafill, dholmes, lmesnik, cjplummer
2016-08-23 13:20:51 -04:00
Coleen Phillimore
6b6510c34f
Merge
2016-08-19 22:42:25 +02:00
Coleen Phillimore
85381e59e5
8145964: NoClassDefFound error in transforming lambdas
...
Skip VM anonymous classes in retransformation and give an error for redefinition.
Reviewed-by: dholmes, dcubed, never
2016-08-19 14:54:31 -04:00
Karen Kinnear
6758f23018
Merge
2016-08-19 20:38:30 +02:00
Karen Kinnear
3b21f492f9
8163808: Fix asserts and logging for old classfile vtable construction
...
Reviewed-by: coleenp, lfoltan, rprotacio, ctornqvi
2016-08-19 11:32:43 -04:00
Christian Tornqvist
ad85e18f23
8157957: ClassNotFoundException: jdk.test.lib.JDKToolFinder
...
Reviewed-by: coleenp, gtriantafill, mseledtsov, iignatyev, dholmes, dsamersoff
2016-08-19 10:06:30 -04:00
Harold Seigel
2a74c06b8d
8030221: Checking for anonymous class should check for NULL as well as potential nesting
...
Store the first non-anonymous class as the host when defining the anonymous class so don't need look for it later.
Reviewed-by: dholmes, lfoltan
2016-08-16 09:56:18 -04:00
Chris Plummer
eabe746ff6
8133747: NMT includes an extra stack frame due to assumption NMT is making on tail calls being used
...
Better frame skipping logic in NativeCallStack::NativeCallStack.
Reviewed-by: dholmes, zgu
2016-08-15 13:13:48 -07:00
Alejandro Murillo
2d36c89f18
Merge
2016-08-12 13:58:14 -07:00
Harold Seigel
d7ea24479b
8136930: Simplify use of module-system options by custom launchers
...
Reviewed-by: coleenp, lfoltan, mchung
2016-08-10 15:48:04 -07:00
Alejandro Murillo
8857b866e7
Merge
2016-08-05 09:58:09 -07:00
Alejandro Murillo
22b49b9431
Merge
2016-08-05 09:50:25 -07:00
Joe Darcy
4497988860
8163231: A couple of runtime tests failing for the -testset hotspot snapshot job
...
Reviewed-by: acorn
2016-08-04 15:52:14 -07:00
Gerald Thornbrugh
8a3dd8c557
8161696: [TESTBUG] runtime/StackGuardPages/testme.sh uses invalid argument -Xss328k
...
Changed argument from 328k to 1M
Reviewed-by: dcubed, fparain, dholmes
2016-08-02 13:48:07 -07:00
Lois Foltan
6066d30e17
8160487: JVM should validate a module by checking for an instance of java.lang.reflect.Module
...
Correct the checking of an instance of java.lang.reflect.Module to validate a module
Reviewed-by: alanb, coleenp, redestad
2016-07-28 09:57:49 -04:00
David Holmes
5c9019c64a
8140723: Remove source code conditionalized on JAVASE_EMBEDDED
...
Reviewed-by: twisti, fparain, cjplummer
2016-07-26 23:52:25 -04:00
Daniel D. Daugherty
1ffdc57850
8161949: quarantine runtime/Unsafe/GetUnsafe.java to allow sync with JDK9-dev
...
Reviewed-by: jiangli, gtriantafill
2016-07-20 10:55:32 -07:00
Paul Sandoz
44d9cb476f
8161947: runtime/Unsafe/GetUnsafe.java is failing on jdk9/dev
...
Reviewed-by: alanb, dholmes
2016-07-21 16:29:21 +02:00
Gerald Thornbrugh
8f39b65deb
8144278: [TESTBUG] hotspot/runtime/StackGuardPages/testme.sh should use native library build support
...
Reviewed-by: erikj, dsamersoff, dholmes
2016-07-15 10:46:08 -07:00
Gerald Thornbrugh
2b23013b97
8144279: [TESTBUG] hotspot/runtime/jsig/Test8017498.sh should use native library build support
...
Reviewed-by: ccheung, cjplummer, dcubed
2016-07-15 10:31:50 -07:00
Gerald Thornbrugh
b571e747c5
8081770: [TESTBUG] regression Test7107135 needs to remove dependence on locally installed gcc
...
Reviewed-by: cjplummer, dcubed
2016-07-15 10:25:16 -07:00