summaryrefslogtreecommitdiff
path: root/test/151-OpenFileLimit/src
AgeCommit message (Collapse)Author
2022-11-08Fix ulimit in 151-OpenFileLimit David Srbecky
"adb shell" does not propagate the limit so this never worked on target. Set the limit in the process itself so that it does work. Test: Check that the tests throws exception early on all targets. Change-Id: I4d7faaef4ab8165fdc1cd00cec8b6c0ce67e05b1
2018-04-09Improve error message in 151-OpenFileLimit. Richard Uhler
Bug: 77641050 Test: ./art/test/testrunner/testrunner.py -b --host --jit --32 -t 151-OpenFileLimit Change-Id: Icb75fa08d3a61ce93dcadba43e4f1c558e131df4
2018-01-02Fix potential out of bounds access in 151-OpenFileLimit test. Richard Uhler
Bug: 71453022 Test: art/test/testrunner/testrunner.py -b -t 151-OpenFileLimit --host Change-Id: Idb7ff3c219dc699d394e28918009d34886d3de25
2016-10-25Fall back to true anonymous mmap if out of file descriptors. Richard Uhler
MemMap::MapAnonymous needs a file descriptor to create an ashmem region to label otherwise anonymous mmaps for debugging purposes. If the process has no file descriptors available, fall back to traditional anonymous mmap rather than failing. Test: m test-art-host, m test-art-target Bug: 32013594 Bug: 32302133 Change-Id: I6b2c770fc031eb8d429407f3a0e7408c52cb1985
2016-10-19Return error message if IndirectReferenceTable construction fails. Richard Uhler
Previously if there was an error when constructing the IndirectReferenceTable, the error message was lost. Now expose and include the error message when throwing an exception related to failures to construct the IndirectReferenceTable. The error message is propagated through JVMEnvExt, JavaVMExt, and Runtime::Init as well. Bug: 32013594 Test: Added new 151-OpenFileLimit runtest. Test: m test-art-host, m test-art-target Change-Id: I3692f6928c9570358571bce634569d6f14cdeb05