Commit Graph

240 Commits

Author SHA1 Message Date
yj 049f28aca5 merge with jdk8u212-ga and add sw port 2021-12-27 09:35:40 +08:00
Volker Simonis 6dae7d40cf 8195153: [test] runtime/6981737/Test6981737.java shouldn't check 'java.vendor' and 'java.vm.vendor' properties
Reviewed-by: dholmes, andrew
2018-01-17 17:26:07 +01:00
Aleksey Shipilev ca483af22d 8076274: [TESTBUG] Remove @ignore from runtime\NMT\JcmdDetailDiff.java
Reviewed-by: lfoltan, coleenp
2019-02-27 10:23:05 +01:00
Zhengyu Gu d7a02834bf 8200109: NMT: diff_malloc_site assert(early->flags() == current->flags(), "Must be the same memory type")
Reviewed-by: shade, coleenp
2019-02-08 16:34:52 -05:00
Aleksey Shipilev 78c8eb9aa1 8218613: [TESTBUG] runtime/ErrorHandling tests are building incorrect testlibrary classes
Reviewed-by: aph, dholmes
2019-02-12 16:14:28 +01:00
Andrew John Hughes f29551d5d7 Merge 2019-02-06 04:09:15 +00:00
Aleksei Efimov 644168e9e1 Merge 2018-11-08 18:33:43 +00:00
Coleen Phillimore 4b9ec1c4fa 8210094: Better loading of classloader classes
Reviewed-by: acorn, hseigel, ahgross, rhalade
2018-09-12 10:11:31 -04:00
Vaibhav Choudhary 5ed314dcf6 8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration
Created tests for the feature

Reviewed-by: mseledtsov
2018-07-26 06:16:09 -04:00
Andrew Haley e57ef6e2fe 8197429: Increased stack guard causes segfaults on x86-32
Reviewed-by: dholmes
2018-07-06 17:25:06 +01:00
David Buck cd5b5caf20 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: dholmes, erikj
2018-01-16 04:20:19 -05:00
Kevin Walls 3e25768750 8055008: Clean up code that saves the previous versions of redefined classes
8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links
8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid

Reviewed-by: coleenp
2018-01-08 08:32:04 -08:00
Xin Liu b5f3db8363 8209863: Add a test to verify that -XX:+EnableTracing works
A new test verifies that tracing output occurs with the switch enabled.

Reviewed-by: dholmes, phh
2018-09-14 07:58:22 -07:00
Vaibhav Choudhary 171daf9f4a 8189762: [TESTBUG] Create tests for JDK-8146115 container awareness and resource configuration
Created tests for the feature

Reviewed-by: mseledtsov
2018-07-26 06:16:09 -04:00
Abhijit Saha 3f68f2f9ca Merge 2017-12-21 10:36:00 -08:00
David Buck 149b98c33b 8189851: [TESTBUG] runtime/RedefineTests/RedefineInterfaceCall.java fails
Modified jtreg tags and package import to work with JDK 8

Reviewed-by: vlivanov, dholmes
2017-12-18 18:18:10 -05:00
Yasumasa Suenaga 4e5f49b47e 8087291: InitialBootClassLoaderMetaspaceSize and CompressedClassSpaceSize should be checked consistent from MaxMetaspaceSize
Reviewed-by: dholmes, sspitsyn, poonam
2017-10-24 22:45:26 +09:00
David Buck e39179c325 8174962: Better interface invocations
Reviewed-by: jrose, coleenp, ahgross, acorn, vlivanov
2017-09-29 14:30:05 -04:00
Zoltan Majo 9a0f9e133e 8180934: PutfieldError failed with UnsupportedClassVersionError
Change class version to version accepted by JDK 8.

Reviewed-by: dholmes, hseigel
2017-05-30 09:20:36 +02:00
David Buck 8d95034a5d 8087342: Crash in klassItable::initialize_itable_for_interface
Fix method searches to handle static, private instance and overpass

Reviewed-by: acorn
2017-02-02 00:29:28 +00:00
Abhijit Saha 64cc4cfc68 Merge 2017-01-17 09:21:05 -08:00
Abhijit Saha 242bbf9f0c Merge 2016-12-22 15:55:08 -08:00
Kevin Walls 3a6628a350 8167104: Additional class construction refinements
Reviewed-by: hseigel
2016-11-02 14:54:53 -07:00
Coleen Phillimore 92e6b35293 8163969: Cyclic interface initialization causes JVM crash
Backport change to correct interface initialization.

Reviewed-by: gtriantafill, sspitsyn, dholmes
2016-10-13 11:57:45 -04:00
Shafi Ahmad d303bef2df 6515172: Runtime.availableProcessors() ignores Linux taskset command
Extract processor count from sched_getaffinity mask

Reviewed-by: dholmes, gthornbr
2016-09-22 02:04:40 -07:00
Poonam Bajaj 9116d75916 8042660: vm/mlvm/anonloader/stress/byteMutation failed with: assert(index >=0 && index < _length) failed: symbol index overflow
Detect zero length signatures and throw ClassFormatError before bad dereference occurs

Reviewed-by: hseigel
2016-07-12 22:31:57 +00:00
Coleen Phillimore b53e3aa6f5 8160551: assert(c == Bytecodes::_putfield) failed: must be putfield
Illegal bytecodes which are detected later hit this assert first.

Reviewed-by: jrose
2016-06-29 20:16:05 -04:00
Christian Tornqvist 2afd0dbfe3 8055844: [TESTBUG] test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails on Solaris Sparc due to incorrect page size being used
Use 128KB chunks for virtual memory operations

Reviewed-by: zgu, gtriantafill
2014-08-22 14:21:41 -07:00
Cheleswer Sahu f5033d031c 8138745: Implement ExitOnOutOfMemory and CrashOnOutOfMemory in HotSpot
Reviewed-by: dholmes
2016-01-07 02:36:48 -08:00
David Buck 7709361dcb 8189851: [TESTBUG] runtime/RedefineTests/RedefineInterfaceCall.java fails
Modified jtreg tags and package import to work with JDK 8

Reviewed-by: vlivanov, dholmes
2017-12-18 18:18:10 -05:00
Rob McKenna a11834e543 Merge 2018-02-07 10:45:15 -08:00
David Buck fe1815815f 8187045: [linux] Not all libraries in the VM are linked with -z,noexecstack
Reviewed-by: dholmes, erikj
2018-01-16 04:20:19 -05:00
Kevin Walls f1df9c0d4f 8055008: Clean up code that saves the previous versions of redefined classes
8156137: SIGSEGV in ReceiverTypeData::clean_weak_klass_links
8057570: RedefineClasses() tests fail assert(((Metadata*)obj)->is_valid()) failed: obj is valid

Reviewed-by: coleenp
2018-01-08 08:32:04 -08:00
Yasumasa Suenaga 2b71888c58 8087291: InitialBootClassLoaderMetaspaceSize and CompressedClassSpaceSize should be checked consistent from MaxMetaspaceSize
Reviewed-by: dholmes, sspitsyn, poonam
2017-10-24 22:45:26 +09:00
Poonam Bajaj 0a328ec433 8190442: Backout changes for JDK-8087291 from 8u-dev as it didn't use main CR id
Backed out changeset bf20c6230535

Reviewed-by: asaha
2017-10-31 20:29:34 +00:00
Yasumasa Suenaga 42c08ca402 8189599: InitialBootClassLoaderMetaspaceSize and CompressedClassSpaceSize should be checked consistent from MaxMetaspaceSize
Reviewed-by: dholmes, sspitsyn, poonam
2017-10-24 22:45:26 +09:00
Christian Tornqvist 841807b41e 8007890: [TESTBUG] JcmdWithNMTDisabled.java fails when invoked with NMT explicitly turned on
Wrapped the test in another layer process creation to avoid NMT being turned on.

Reviewed-by: coleenp, dcubed
2014-03-27 22:36:08 +01:00
Andreas Eriksson 73d1f73040 8131333: [TESTBUG] RedefineRunningMethodsWithResolutionErrors.java Improperly specified VM option 'TraceRedefineClasses=0x600'
Reviewed-by: coleenp, sspitsyn
2015-07-15 15:32:33 +02:00
Christian Tornqvist 1a2988f96b 8044364: runtime/RedefineFinalizer test fails on windows
Rewrote the test in pure Java, added RedefineClassHelper utility class

Reviewed-by: coleenp, allwin, gtriantafill, dsamersoff
2014-06-02 19:08:18 +02:00
Dmitry Samersoff 11eaad476a 6904403: assert(f == k-&gt;has_finalizer(),&quot;inconsistent has_finalizer&quot;) with debug VM
Don't assert if one of classes in hierarhy was redefined

Reviewed-by: coleenp, sspitsyn
2014-05-28 07:36:32 -07:00
Andreas Eriksson 887887f6cd 8076110: VM crash when class is redefined with Instrumentation.redefineClasses
Reviewed-by: coleenp, sspitsyn
2015-06-16 15:59:57 +02:00
Thomas Schatzl 212ad4665e 8129602: Incorrect GPL header causes RE script to create wrong output
Fix up GPL headers so that the RE script works.

Reviewed-by: stefank, dholmes, coleenp
2015-06-25 10:12:25 +02:00
Andreas Eriksson fa223c2598 8051045: HotSpot fails to wrap Exceptions from invokedynamic in a BootstrapMethodError
Reviewed-by: coleenp, dsimms
2015-05-07 15:05:46 +02:00
Coleen Phillimore 06e5d1f192 8035132: [TESTBUG] test/runtime/lambda-features/InvokespecialInterface.java test has unrecognized option
Add IgnoreUnrecognizedVMOptions for product mode run

Reviewed-by: ctornqvi, dholmes
2014-02-18 09:54:24 -05:00
David Holmes 5d345c4cf6 8078470: [Linux] Replace syscall use in os::fork_and_exec with glibc fork() and execve()
Reviewed-by: stuefe, dsamersoff, dcubed
2015-04-29 19:37:10 -04:00
Yumin Qi cc689f5d7f 8053995: Add method to WhiteBox to get vm pagesize
Unsafe is not recommended and may deprecated in future. Added a WhiteBox API to get VM page size.

Reviewed-by: dholmes, ccheung, mseledtsov
2014-11-26 10:32:21 -08:00
Erik Helin 5368b949a5 8049536: os::commit_memory on Solaris uses aligment_hint as page size
Reviewed-by: stefank, tschatzl
2014-09-15 10:57:22 +02:00
Harold Seigel 023aabbb68 7127066: Class verifier accepts an invalid class file
For *store bytecodes, compare incoming, not outgoing, type state with exception handlers' stack maps.

Reviewed-by: acorn, dholmes
2015-03-25 08:16:48 -04:00
Harold Seigel 8e3c2b75fb 8075118: JVM stuck in infinite loop during verification
Keep a list of handlers to prevent the same handler from being scanned repeatedly.

Reviewed-by: dlong, dholmes
2015-03-19 08:55:50 -04:00
Goetz Lindenmaier 4012f4f9b1 8068013: [TESTBUG] Aix support in hotspot jtreg tests
Reviewed-by: ctornqvi, fzhinkin, farvidsson
2015-01-21 12:38:11 +01:00