Calvin Cheung
ef70244a9a
8017498: JVM crashes when native code calls sigaction(sig) where sig>=0x20
...
Added (sig < MAXSIGNUM) check in jsig.c
Reviewed-by: dholmes, acorn
2013-07-17 12:22:57 -07:00
David Katleman
6043666187
Merge
2013-07-16 15:15:43 -07:00
David Katleman
d939aea838
8020414: JDK8 b98 source with GPL header errors
...
Reviewed-by: darcy, lancea, iris
2013-07-11 14:07:26 -07:00
Frederic Parain
7f314c6d87
Merge
2013-07-05 08:09:40 -07:00
Daniel D. Daugherty
765f5cd4e7
8015884: runThese crashed with SIGSEGV, hs_err has an error instead of stacktrace
...
Dl_info struct should only be used if dladdr() has returned non-zero (no errors) and always check the dladdr() return value; Dl_info.dli_sname and Dl_info.dli_saddr fields should only be used if non-NULL; update/improve runtime/6888954/vmerrors.sh test
Reviewed-by: dsamersoff, zgu, hseigel, coleenp
2013-07-04 21:10:17 -07:00
Roland Westrelin
bc15de549e
Merge
2013-07-04 03:41:57 -07:00
Jiangli Zhou
bf2a400ca2
8006023: Embedded Builds fail management test because of requirement for UsePerfData being enabled
...
Added -XX:+UsePerfData to Test7196045.java.
Reviewed-by: dholmes, collins
2013-07-01 19:44:37 -04:00
Filipp Zhinkin
68c516f654
8006629: NEED_TEST: need test for JDK-8001071
...
Added regression test
Reviewed-by: kvn, coleenp
2013-07-01 12:22:34 -07:00
Mikhailo Seledtsov
e1219b994d
8015324: Create tests for CDS feature
...
Wrote tests for use of CDS with ObjectAlignmentInBytes CL option
Reviewed-by: coleenp, ctornqvi, hseigel
2013-06-13 22:00:06 +02:00
Christian Tornqvist
e72f763439
8016065: Write regression test for 7167142
...
Regression tests written for both test cases (.hotspotrc and .hotspot_compiler). Also reviewed by mikhailo.seledtsov@oracle.com
Reviewed-by: zgu, coleenp
2013-06-13 21:57:56 +02:00
Mikhailo Seledtsov
6a7e90e362
6726963: multi_allocate() call does not CHECK_NULL and causes crash in fastdebug bits
...
Using CHECK_NULL when calling multi_allocate() from the corresponding reflection code; added test for this condition
Reviewed-by: dholmes, minqi
2013-05-31 20:24:58 +02:00
Joel Borggren-Franck
6d51346158
8014709: Constructor.getAnnotatedReturnType() returns empty AnnotatedType
...
Reviewed-by: stefank, rbackman
2013-05-31 13:02:24 +02:00
Aleksey Shipilev
0793ab7e65
8015493: runtime/contended/OopMaps.java fails with OutOfMemory
...
Limit the memory footprint to dodge OutOfMemory errors.
Reviewed-by: dcubed, ctornqvi, iignatyev
2013-05-28 19:54:18 +04:00
Aleksey Shipilev
375e12feb9
8015270: @Contended: fix multiple issues in the layout code
...
Field count handling fixed, has_nonstatic_fields invariant fixed, oop map overrun fixed; new asserts
Reviewed-by: kvn, dcubed, coleenp
2013-05-27 12:49:08 -07:00
Christian Tornqvist
bd53fa8370
8009576: Test returns ClassNotFoundException
...
Small classpath fix and move tests into open
Reviewed-by: mgerdin, zgu
2013-05-23 17:39:32 +02:00
Mikael Vidstedt
de93893f4e
8013726: runtime/memory/ReserveMemory.java fails due to 'assert(bytes % os::vm_allocation_granularity() == 0) failed: reserve block size'
...
Fix regression test to work on all platforms
Reviewed-by: ctornqvi, dholmes
2013-05-21 09:43:23 -07:00
Aleksey Shipilev
7efa591bee
8014871: Move @Contended regression tests to the same place
...
Move the missing test to appropriate location.
Reviewed-by: dholmes, sla
2013-05-20 15:43:50 +04:00
Aleksey Shipilev
efe96b1343
8014509: @Contended: explicit default value behaves differently from the implicit value
...
Treat the empty string as the default value tag
Reviewed-by: kvn, twisti
2013-05-17 01:58:32 +04:00
Aleksey Shipilev
2fd72e202f
8012939: @Contended doesn't work correctly with inheritance
...
Fix instance_size miscalculation.
Reviewed-by: jrose, kvn
2013-05-17 01:43:48 +04:00
Mikhailo Seledtsov
bb4af57bdd
8014511: runtime/RedefineObject/TestRedefineObject.java has incorrect classname in @run tag
...
Corrected the class name
Reviewed-by: coleenp, ctornqvi, hseigel
2013-05-16 17:54:11 +02:00
Mikhailo Seledtsov
172cc0a06e
8008169: test/runtime/7158804/Test7158804.sh has bad copyright header
...
Re-wrote test in Java in addition to fixing the Copyright notice. Also reviewed by leonid.mesnik@oracle.com
Reviewed-by: coleenp, ctornqvi
2013-05-16 15:31:00 +02:00
Harold Seigel
3aa20631a9
8014138: Add VM option to facilitate the writing of CDS tests
...
Added the -XX:SharedArchiveFile option.
Reviewed-by: coleenp, ccheung, acorn, dcubed, zgu
2013-05-14 09:17:52 -04:00
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
Christian Tornqvist
601071bc6d
8009577: Test test/closed/runtime/classunload broken
...
Fixed tests to use new way of utilizing the WB API, fixed issue with where custom classloader got the classes from
Reviewed-by: collins, mgerdin, zgu
2013-05-07 21:36:59 +02:00
Zhengyu Gu
c2330eb6b1
8013120: NMT: Kitchensink crashes with assert(next_region == NULL || !next_region->is_committed_region()) failed: Sanity check
...
Fixed NMT to deal with releasing virtual memory region when there are still committed regions within it
Reviewed-by: acorn, coleenp
2013-05-06 11:15:13 -04: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
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
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
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
Daniel D. Daugherty
2484584e6d
Merge
2013-03-29 08:38:00 -07:00
Gary Collins
4970095c03
Merge
2013-03-28 15:42:11 -07:00
Gary Collins
c2a873f014
8009152: A number of jtreg tests need review/improvement
...
Added a new test_env.txt file to capture common shell variable. Added concept of COMPILEJAVA for use when TESTJAVA is a JRE. If COMPILEJAVA not set then TESTJAVA will be the default with assumption it is a JDK.
Reviewed-by: kvn, brutisso, coleenp
2013-03-27 09:49:51 -07:00
Harold Seigel
366b7e1c5e
8010833: Test7116786.java is failing on most configs after fix for 8010667
...
Update test to recognize that non-zero pad bytes for lookupswitch/tablewsitch opcodes are now valid.
Reviewed-by: dcubed, twisti, kvn, coleenp, dholmes
2013-03-27 11:41:51 -04:00
Bharadwaj Yadavalli
0e9d409036
8009552: test/vm/verifier/TestStaticIF.java failing with hs25.0-b
...
Remove support for verification of class files with version 52 and above from type inference verifier.
Reviewed-by: acorn, hseigel
2013-03-25 09:36:15 -07:00
Christian Tornqvist
c458eb3fd6
8008454: test/runtime/NMT/PrintNMTStatistics is broken
...
Added @run tag so that it actually runs the test, also fixed broken command line and incorrect parsing. Also reviewed by gerard.ziemski@oracle.com
Reviewed-by: mgerdin, zgu
2013-03-24 09:11:55 +01:00
Ioi Lam
ba67f14480
8010389: After fix for 7107135 a failed dlopen() call results in a VM crash
...
Call dlerror() in VM thread as necessary.
Reviewed-by: coleenp, dholmes
2013-03-21 20:46:46 -07:00
Christian Tornqvist
b7d738913e
8007982: some runtime/CommandLine/ tests fail on 32-bit platforms
...
Changed tests to use platform independent flags
Reviewed-by: collins, hseigel, zgu
2013-03-20 20:40:57 +01:00
Christian Tornqvist
3277de9dad
8010084: Race in runtime/NMT/BaselineWithParameter.java
...
Added a waitFor() on the process
Reviewed-by: mgerdin, sla, zgu
2013-03-20 08:17:55 +01:00
Ron Durbin
f4bcfd04ca
7030610: runtime/6878713/Test6878713.sh fails Error. failed to clean up files after test
...
7123945: runtime/6878713/Test6878713.sh require about 2G of native memory, swaps and times out
Add new diagnostic option -XX:MallocMaxTestWords=NNN and fix Test6878713.sh.
Reviewed-by: dcubed, coleenp, dholmes, iklam
2013-03-19 11:33:11 -07:00
Aleksey Shipilev
2f5e08742a
8008965: @Contended fails with classes having static fields
...
Disable @Contended support for static fields
Reviewed-by: coleenp, kvn
2013-03-11 14:00:09 -04:00
Ioi Lam
5116181e1f
7107135: Stack guard pages are no more protected after loading a shared library with executable stack
...
Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op.
Reviewed-by: dholmes, zgu
2013-03-05 13:55:56 -08:00
Mikael Gerdin
1d468be4b1
8006753: fix failed for JDK-8002415 White box testing API for HotSpot
...
Modify WhiteBoxAPI to use interface classes from test/testlibrary instead, add ClassFileInstaller to resolve the boot class path issue
Reviewed-by: ctornqvi, dsamersoff, coleenp, kvn
2013-02-19 18:45:49 +01:00
Bharadwaj Yadavalli
ff4bbcd501
8007736: VerifyError for static method in interface
...
Reviewed-by: dholmes, acorn
2013-02-14 14:33:35 -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
Christian Tornqvist
92053d4fb2
8007434: Write tests for 8006298
...
Four tests written for 8006298
Reviewed-by: mgerdin, coleenp
2013-02-08 10:42:24 +01:00
Coleen Phillimore
6101f88a80
Merge
2013-02-04 22:59:45 -08:00
Volker Simonis
37d83019d0
8007475: Memory stomp with UseMallocOnly
...
Fix off-by-one error
Reviewed-by: coleenp, hseigel
2013-02-04 13:14:12 -05:00
Harold Seigel
1831def9cc
8000968: NPG: UseCompressedKlassPointers asserts with ObjectAlignmentInBytes for > 32G CompressedOops
...
Pick a base that works for both CompressedOpps alignment and CompressedKlassPtrs alignment.
Reviewed-by: kvn, roland
2013-02-04 08:26:02 -05:00
Christian Tornqvist
898965f458
8000363: runtime/7158988/FieldMonitor.java fails with exception
...
Removed unnecessary shell script in the test.
Reviewed-by: coleenp, sla
2013-02-02 20:13:27 +01:00
Christian Tornqvist
8734c66d55
8005013: Add NMT tests
...
Add tests for the Native Memory Tracking feature, includes regression tests for 8005936 and 8004802
Reviewed-by: zgu, coleenp
2013-02-02 16:34:10 +01:00
David Katleman
5dc630b150
8004982: JDK8 source with GPL header errors
...
Reviewed-by: ohair
2012-12-20 16:24:51 -08:00
Stefan Karlsson
98abf6fb1c
8004199: Change the ASM package for Test8003720
...
Reviewed-by: kvn, jrose
2012-11-29 23:02:52 +01:00
Stefan Karlsson
3c2f3a321a
8003720: NPG: Method in interpreter stack frame can be deallocated
...
Pass down a closure during root scanning to keep the class of the method alive.
Reviewed-by: coleenp, jcoomes
2012-11-27 10:13:20 +01:00
Lana Steuck
69720b975c
Merge
2012-10-25 20:07:39 -07:00
Abhijit Saha
19fc2d4d88
Merge
2012-10-18 21:58:55 -07:00
Abhijit Saha
2f3ac59e81
Merge
2012-10-10 14:28:08 -07:00
David Holmes
363fac131c
7199186: runtime/7194254/Test7194254.java fails - wrong test name on @run
...
Reviewed-by: kvn, twisti
2012-10-04 19:52:09 -04:00
Kevin Walls
80d5f4b66d
7200145: runtime/7196045/Test7196045.java fails with No class provided for `main'
...
Reviewed-by: dholmes, dsamersoff
2012-09-30 23:24:12 +01:00
Abhijit Saha
989c8e0201
7199488: [TEST] runtime/7158800/InternTest.java failed due to false-positive on PID match
...
Reviewed-by: coleenp
2012-09-26 09:54:11 -07:00
Kevin Walls
1c502686ea
7196045: Possible JVM deadlock in ThreadTimesClosure when using HotspotInternal non-public API
...
Reviewed-by: sspitsyn, dholmes
2012-09-19 15:24:32 +01:00
Dmytro Sheyko
48255b9ff3
7194254: jstack reports wrong thread priorities
...
Reviewed-by: dholmes, sla, fparain
2012-09-17 07:36:31 -04:00
Abhijit Saha
38b305878c
Merge
2012-09-07 18:18:55 -07:00
Pavel Punegov
373b8ccd27
7191926: Remove MKS dependency in Hotspot regression tests
...
Add case for CYGWIN in .sh files.
Reviewed-by: coleenp, kvn
2012-08-29 14:49:05 -04:00
Kevin Walls
b296b69382
7195151: Multiplatform tescase for 6929067
...
Reviewed-by: kamg, kvn
2012-10-15 16:48:48 +01:00
Keith McGuigan
dbe25e46f3
7116786: RFE: Detailed information on VerifyErrors
...
Provide additional detail in VerifyError messages
Reviewed-by: sspitsyn, acorn
2012-08-06 15:54:45 -04:00
Abhijit Saha
4c3a0cd840
Merge
2012-08-02 14:29:12 -07:00
Coleen Phillimore
d52b3a7eb7
7129723: MAC: Some regression tests need to recognize Mac OS X platform
...
Add Darwin like Linux to shell scripts
Reviewed-by: kvn, kamg, dholmes
2012-08-01 16:52:43 -04:00
Abhijit Saha
5a456b0991
7185550: TEST: runtime/7020373/Test7020373.sh fails because there is no test/runtime/7020373/testcase.jar
...
Reviewed-by: coleenp
2012-07-23 14:28:38 -07:00
Abhijit Saha
bba3260a52
7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms
...
Reviewed-by: kamg
2012-07-17 22:16:17 -07:00
Frederic Parain
c0a96ff2a4
7183754: Test runtime/6294277/Test6294277.sh runs wrong JVM
...
Reviewed-by: kamg, coleenp, ctornqvi
2012-07-16 04:06:44 -07:00
Frederic Parain
13c689d9c3
6294277: java -Xdebug crashes on SourceDebugExtension attribute larger than 64K
...
Reviewed-by: sspitsyn, dholmes, coleenp, kamg
2012-07-09 01:28:37 -07:00
Alejandro Murillo
fad2bafa7b
Merge
2012-06-29 17:04:39 -07:00
Coleen Phillimore
90c19a9907
7177307: fix fo CR7158800 doesn't contain Test7158800.sh
...
Forgot to hg add it
Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-15 07:51:37 -04:00
Coleen Phillimore
55b09e7016
7158800: Improve storage of symbol tables
...
Use an alternate version of hashing algorithm for symbol string tables and after a certain bucket size to improve performance
Reviewed-by: pbk, kamg, dlong, kvn, fparain
2012-06-13 19:52:59 -04:00
Keith McGuigan
c39971d4f1
7158804: Improve config file parsing
...
Check buffer length when reading
Reviewed-by: dholmes, dcubed
2012-06-08 12:49:12 -04:00
Abhijit Saha
aacc740523
Merge
2012-06-07 12:30:02 -07:00
Zhengyu Gu
4118514eaa
Merge
2012-05-22 20:29:05 -04:00
Abhijit Saha
1c1f4add53
Merge
2012-05-21 14:56:33 -07:00
Kevin Walls
8b44324ec4
7157734: hotspot test scripts not testing 64-bit JVM under JPRT/JTREG
...
Reviewed-by: kvn
2012-05-11 17:24:32 +01:00
Bengt Rutisson
831d61ffee
7167069: 6 VM flags crash the VM when queried via jinfo
...
Added missing double format to Flag::print_as_flag()
Reviewed-by: dholmes, stefank, coleenp
2012-05-10 14:16:34 +02:00
Abhijit Saha
8a9a73c5fd
Merge
2012-05-08 11:29:21 -07:00
Abhijit Saha
e2a63403d0
Merge
2012-05-08 07:29:27 -07:00
Keith McGuigan
ff66fcc442
7160757: Problem with hotspot/runtime_classfile
...
Allow only current and super invokespecials of <init>
Reviewed-by: never, coleenp, dcubed
2012-05-03 15:37:46 -04:00
Kevin Walls
7e36bafdcd
7162488: VM not printing unknown -XX options
...
Reviewed-by: dholmes, kamg
2012-04-20 14:55:45 +01:00
Keith McGuigan
fbcf78297f
7110720: Issue with vm config file loadingIssue with vm config file loading
...
Disabling default config files if -XX:-ReadDefaultConfigFiles
Reviewed-by: phh, jrose, dcubed, dholmes
2012-03-29 18:55:32 -04:00
Coleen Phillimore
7359b90813
7160467: Fix test for 7158988
...
Ended up checking in FieldMonitor.java as TestPostFieldModification.java
Reviewed-by: kamg
2012-04-12 22:03:05 -04:00
Axel Siebenborn
beaeca558b
7158988: jvm crashes while debugging on x86_32 and x86_64
...
Object pointer is pushed more than once on stack, where GC doesn't expect it.
Reviewed-by: coleenp, kvn
2012-04-05 12:17:52 -04:00
Axel Siebenborn
96500c22d7
7100935: win32: memmove is not atomic but is used for pd_conjoint_*_atomic operations
...
Replace the call to memmove by a simple copy loop
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: dholmes, kvn, never
2011-10-19 10:52:30 -07:00
Igor Veresov
7f01a4d4f5
Merge
2011-09-30 13:48:17 -07:00
Kurt Miller
95c56a472b
7089790: integrate bsd-port changes
...
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Jung-uk Kim <jkim@freebsd.org>
Co-authored-by: Christos Zoulas <christos@zoulas.com>
Co-authored-by: Landon Fuller <landonf@plausible.coop>
Co-authored-by: The FreeBSD Foundation <board@freebsdfoundation.org>
Co-authored-by: Michael Franz <mvfranz@gmail.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Alexander Strange <astrange@apple.com>
Reviewed-by: kvn, twisti, jrose
2011-09-25 16:03:29 -07:00
Kevin Walls
f4e1298403
7051189: Need to suppress info message if -xcheck:jni used with libjsig.so
...
Reviewed-by: coleenp, minqi
2011-09-22 16:48:41 +01:00
Abhijit Saha
6af175455a
7055247: Ignore test of # 7020373
...
Reviewed-by: dcubed
2011-06-15 14:59:55 -07:00
Keith McGuigan
222ac81222
7020373: JSR rewriting can overflow memory address size variables
...
Abort if incoming classfile's parameters would cause overflows
Reviewed-by: coleenp, dcubed, never
2011-04-12 16:42:26 -04:00
Keith McGuigan
380d90b364
6878713: Verifier heap corruption, relating to backward jsrs
...
Added overflow detection in arena Amalloc methods
Reviewed-by: coleenp, phh
2011-03-02 08:18:35 -05:00
Keith McGuigan
d4ca94df32
6981737: The java.vm.specification.version property is 1.0, seems like it should be 2.0
...
Change property value to 1.<major_version> for major_version >= 7
Reviewed-by: dholmes, acorn
2010-11-05 09:32:08 -04:00
Karen Kinnear
218b17b913
6942092: Loader-constraint test is failing
...
Fix test string compare to match source update
Reviewed-by: dcubed, phh
2010-09-10 12:36:47 -04:00
Abhijit Saha
a3319eba8a
6977952: Test: Sync missing tests from hs16.3 to hs17.x
...
Reviewed-by: wrockett
2010-08-17 22:52:50 -07:00
Jon Masamitsu
428d02d5d7
Merge
2010-06-10 08:27:35 -07:00
Erik Trimble
ba7c173659
6941466: Oracle rebranding changes for Hotspot repositories
...
Change all the Sun copyrights to Oracle copyright
Reviewed-by: ohair
2010-05-27 19:08:38 -07:00
John Coomes
308ec93f02
6956472: test/runtime/6888954/vmerrors.sh uses ksh-specific syntax
...
Reviewed-by: jmelvin, kvn
2010-05-27 13:09:56 -07:00
Daniel D. Daugherty
1f1393802c
Merge
2010-05-05 16:39:47 -07:00
Volker Simonis
43a9130faa
6935118: UseCompressedOops modification in methodOopDesc::sort_methods() causes JCK timeout
...
Add comparison functions for compressed oops to use bubblesort.
Reviewed-by: never, coleenp
2010-05-04 15:12:08 -04:00
John Coomes
99196ff9ca
6888954: argument formatting for assert() and friends
...
Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
2010-04-22 13:23:15 -07:00
Coleen Phillimore
053d7adeb2
6929067: Stack guard pages should be removed when thread is detached
...
Add code to unmap stack guard area when thread is detached.
Reviewed-by: coleenp, kamg
2010-03-12 10:42:16 -05:00
Xiomara Jayasena
a63ef10004
6862919: Update copyright year
...
Update copyright for files that have been modified in 2009, up to 07/09
Reviewed-by: tbell, ohair
2009-07-28 12:12:40 -07:00
Paul Hohensee
4be7c3c672
6819213: revive sun.boot.library.path
...
Support multiplex and mutable sun.boot.library.path
Reviewed-by: acorn, dcubed, xlu
2009-04-01 16:38:01 -04:00