summaryrefslogtreecommitdiffstats
path: root/test/004-SignalTest
Commit message (Collapse)AuthorAgeFilesLines
* Replace NULL with nullptrMathieu Chartier2015-04-221-1/+1
| | | | | | | Also fixed some lines that were too long, and a few other minor details. Change-Id: I6efba5fb6e03eb5d0a300fddb2a75bf8e2f175cb
* ART: Add -WunusedAndreas Gampe2015-02-241-0/+2
| | | | | | | Until the global CFLAGS are fixed, add Wunused. Fix declarations in the optimizing compiler. Change-Id: Ic4553f08e809dc54f3d82af57ac592622c98e000
* Fix signal test to work with gcstressMathieu Chartier2015-01-071-2/+1
| | | | | | | | | | | | | We now avoid running GC if we are handling a stack overflow, this helps prevent running past the end of the stack overflow reserved bytes. Added logic in ThrowStackOverflowError to use a stack overflow exception without a stack trace if we fail to allocate the stack trace. Bug: 16406852 Change-Id: Ib34e235cd0af6d7c4c93c9705fa822f2b9b23b38
* Remove -Wno-unused-parameter and -Wno-sign-promo from base cflags.Ian Rogers2014-11-031-4/+5
| | | | | | | | | | | Fix associated errors about unused paramenters and implict sign conversions. For sign conversion this was largely in the area of enums, so add ostream operators for the effected enums and fix tools/generate-operator-out.py. Tidy arena allocation code and arena allocated data types, rather than fixing new and delete operators. Remove dead code. Change-Id: I5b433e722d2f75baacfacae4d32aef4a828bfe1b
* Fix signal chain to allow for signal() call to be usedDave Allison2014-08-281-2/+2
| | | | | Bug: 17320614 Change-Id: Ia917307fb1b593644f524518e11e295b3c64be01
* Fix signal test buildDave Allison2014-08-211-2/+0
| | | | | | | | Bug: 17188805 (cherry picked from commit b9d6a55eb4eb5872739ed26ac535f0c6342e813b) Change-Id: I0a271aa214eebe11a8442ebf68811e0d8f077d36
* Add supported architectures to signal test.Dave Allison2014-08-211-10/+32
| | | | | | | | | | | This adds ARM, AARCH64, i386 and x86_64 to the supported architectures in 004-SignalTest Bug: 16948053 (cherry picked from commit d4af31aa69fe8786a291c566c375bbac04da9ced) Change-Id: I17a992b2cf47f8744f867b8e3f1c360aa345093d
* Reduce stack usage for overflow checksDave Allison2014-08-131-0/+8
| | | | | | | | | | | | | | | | | This reduces the stack space reserved for overflow checks to 12K, split into an 8K gap and a 4K protected region. GC needs over 8K when running in a stack overflow situation. Also prevents signal runaway by detecting a signal inside code that resulted from a signal handler invokation. And adds a max signal count to the SignalTest to prevent it running forever. Also reduces the number of iterations for the InterfaceTest as this was taking (almost) forever with the --trace option on run-test. Bug: 15435566 Change-Id: Id4fd46f22d52d42a9eb431ca07948673e8fda694
* ART: Make run tests out of oat testsAndreas Gampe2014-07-234-0/+140
Transforms all former oat tests into run tests. Change-Id: I190dd39456454c36e5538a2c044d993965a67533