Home
last modified time | relevance | path

Searched refs:OutOfMemoryError (Results 1 – 25 of 32) sorted by relevance

12

/libcore/ojluni/src/main/java/java/lang/
DOutOfMemoryError.java40 public class OutOfMemoryError extends VirtualMachineError { class
47 public OutOfMemoryError() { in OutOfMemoryError() method in OutOfMemoryError
57 public OutOfMemoryError(String s) { in OutOfMemoryError() method in OutOfMemoryError
DString.java2845 throw new OutOfMemoryError(); in replace()
4329 throw new OutOfMemoryError("Repeating " + len + " bytes String " + count +
DAbstractStringBuilder.java219 throw new OutOfMemoryError(); in hugeCapacity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DOutOfMemoryErrorTest.java27 Error e = new OutOfMemoryError(); in test_Constructor()
37 Error e = new OutOfMemoryError(null); in test_ConstructorLjava_lang_String()
41 e = new OutOfMemoryError("msg"); in test_ConstructorLjava_lang_String()
/libcore/ojluni/src/test/java/lang/String/
DStringRepeat.java103 } catch (OutOfMemoryError ex) { in test2()
117 Assert.assertThrows(OutOfMemoryError.class, in testEdgeCases()
207 } catch (IllegalArgumentException | OutOfMemoryError expected) { in String_repeat()
/libcore/libart/src/main/java/java/lang/
DDaemons.java193 } catch (OutOfMemoryError ignored) { in stop()
264 } catch (OutOfMemoryError ignored) { in runInternal()
339 } catch (OutOfMemoryError ignored) { in runInternal()
468 } catch (OutOfMemoryError e) { in sleepUntilNeeded()
522 } catch (OutOfMemoryError ignored) { in sleepForNanos()
669 } catch (OutOfMemoryError ignored) { in timedOut()
/libcore/ojluni/src/test/java/io/Serializable/records/
DThrowingConstructorTest.java128 throw new OutOfMemoryError("thrown from R4"); } in R4()
151 new Object[] { new R4(), OutOfMemoryError.class, "thrown from R4" }, in errorInstances()
154 new Object[] { new C(new R4()), OutOfMemoryError.class, "thrown from R4" }, in errorInstances()
/libcore/ojluni/src/test/java/lang/StringBuffer/
DInsertMaxValue.java47 } catch (OutOfMemoryError oome) { in main()
/libcore/ojluni/src/test/java/math/BigInteger/
DDoubleValueOverflow.java46 } catch (OutOfMemoryError e) { in main()
DBitLengthOverflow.java44 } catch (OutOfMemoryError e) { in test()
/libcore/ojluni/src/test/java/util/HashMap/
DHashMapCloneLeak.java64 } catch (OutOfMemoryError oome) { in main()
/libcore/ojluni/src/main/java/java/io/
DByteArrayOutputStream.java125 throw new OutOfMemoryError(); in hugeCapacity()
DInputStream.java417 throw new OutOfMemoryError("Required array size too large"); in readNBytes()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DArrayDeque8Test.java93 assertThrows(OutOfMemoryError.class, in testHugeCapacity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DSoftReferenceTest.java112 } catch(OutOfMemoryError ofme) { in test_get_SoftReference()
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java72 } catch (OutOfMemoryError expected) { in leakingStartedThreads()
86 } catch (OutOfMemoryError expected) { in leakingUnstartedThreads()
/libcore/luni/src/test/java/libcore/java/util/
DBitSetTest.java48 } catch (OutOfMemoryError e) { in test_toString_highestPossibleBitSet()
/libcore/ojluni/src/test/java/util/HexFormat/
DHexFormatTest.java644 Throwable ex = expectThrows(OutOfMemoryError.class, in testOOME()
647 } catch (OutOfMemoryError oome) { in testOOME()
/libcore/ojluni/src/main/java/java/nio/file/
DFiles.java3118 throw new OutOfMemoryError("Required array size too large");
3156 throw new OutOfMemoryError("Required array size too large");
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileChannelImpl.java983 } catch (OutOfMemoryError x) { in map()
994 } catch (OutOfMemoryError y) { in map()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DIdentityHashMap2Test.java108 } catch (OutOfMemoryError e) { in test_IdentityHashMap_Constructor_BigSize()
/libcore/ojluni/src/main/java/java/util/
DHexFormat.java500 throw new OutOfMemoryError("String size " + length + in checkMaxArraySize()
DBase64.java269 throw new OutOfMemoryError("Encoded size is too large"); in encodedOutLength()
/libcore/ojluni/src/main/java/jdk/internal/util/
DArraysSupport.java755 throw new OutOfMemoryError( in hugeLength()
/libcore/ojluni/src/main/java/java/nio/
DDirect-X-Buffer.java.template126 } catch (OutOfMemoryError x) {

12