Searched defs:fail (Results 326 - 342 of 342) sorted by relevance

<<11121314

/openjdk7/jdk/test/java/util/NavigableMap/
H A DLockStep.java805 static void fail() { failed++; Thread.dumpStack(); } method in class:LockStep
806 static void fail(String msg) { System.out.println(msg); fail(); } method in class:LockStep
808 static void check(boolean cond) { if (cond) pass(); else fail(); }
811 else {System.out.println(x + " not equal to " + y); fail();}}
822 try { f.f(); fail("Expected " + k.getName() + " not thrown"); }
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DconcurrentMarkSweepGeneration.cpp386 void CMSStats::adjust_cms_free_adjustment_factor(bool fail, size_t free) { argument
1561 // We start a collection if we believe an incremental collection may fail;
1569 gclog_or_tty->print("CMSCollector: collect because incremental collection will fail ");
1609 // going to fail, or there is believed to be excessive fragmentation in
1613 // we may be approaching a point at which allocation requests may fail because
6188 // this generation. If such a promotion may still fail,
8252 // any allocated blocks, an assertion will fail)
9066 // General Note on GrowableArray: pushes may silently fail
/openjdk7/hotspot/src/share/vm/opto/
H A Difnode.cpp699 Node* fail = NULL; local
704 } else if (fail == NULL) {
705 fail = proj;
707 success = fail = NULL;
710 if (success != NULL && fail != NULL && !region->has_phi()) {
716 const TypeInt* type2 = filtered_int_type(phase, n, fail);
729 BoolTest::mask cond = fail->as_Proj()->_con ? BoolTest::lt : BoolTest::ge;
867 // If we are going to fail the current check and we reach the top check
868 // then we are guaranteed to fail, so just start interpreting there.
911 // ones. Since range checks "fail" b
[all...]
H A Dstringopts.cpp640 tty->print_cr("stacking would fail");
758 bool fail = false; local
770 fail = true;
821 fail = true;
846 tty->print_cr("fusion would fail for region");
851 fail = true;
855 if (!fail) {
858 tty->print_cr("fusion would fail for");
862 fail = true;
873 if (PrintOptimizeStringConcat && fail) {
[all...]
H A Dloopnode.cpp975 // will simply fail forcing recompilation.
2424 static int fail; // debug only, so its multi-thread dont care variable
2431 fail = 0;
2433 assert( fail == 0, "verify loops failed" );
2463 if( fail++ > 10 ) return;
2480 if( fail++ > 10 ) return;
2493 if( fail++ > 10 ) return;
2518 if( fail++ > 10 ) return;
2599 int fail = 0; local
2613 fail
[all...]
H A DgraphKit.cpp581 if (failing()) { stop(); return; } // exception allocation might fail
1193 // will simply fail to link, since the statically linked class is
2365 // Compile speed common case: ARE a subtype and we canNOT fail
2456 // (2) subklass does not overlap with superklass => always fail
2464 return SSC_always_true; // (0) this test cannot fail
2513 Node* fail = _gvn.transform( new(C) IfFalseNode(iff) ); local
2524 return fail;
/openjdk7/jdk/src/solaris/native/java/lang/
H A DUNIXProcess_md.c87 * appeared to fail on 32-bit i386 (but not 64-bit x86_64) Linux with
681 int fail[2]; member in struct:_ChildStuff
716 (closeSafely(p->fail[0]) == -1))
737 if (moveDescriptor(p->fail[1], FAIL_FILENO) == -1)
760 * child would fail, but there is no reliable way to predict the
839 int in[2], out[2], err[2], fail[2]; local
846 in[0] = in[1] = out[0] = out[1] = err[0] = err[1] = fail[0] = fail[1] = -1;
885 (pipe(fail) < 0)) {
896 copyPipe(fail,
[all...]
/openjdk7/jdk/test/java/lang/ProcessBuilder/
H A DBasic.java159 fail("Sorted string contents differ");
274 fail("Expected IOException not thrown");
378 fail("Expected IOException not thrown");
391 fail("Expected IOException not thrown");
664 fail("Environment variable __CF_USER_TEXT_ENCODING not set. "
674 fail("JAVA_MAIN_CLASS_<pid> not set. "
1152 fail("Expected UnsupportedOperationException not thrown");
1791 fail("Expected IOException not thrown");
1806 fail("Expected IOException not thrown");
1823 fail("Expecte
2286 static void fail() {failed++; Thread.dumpStack();} method in class:Basic
2287 static void fail(String msg) {System.out.println(msg); fail();} method in class:Basic
[all...]
/openjdk7/jdk/test/java/lang/invoke/6998541/
H A DTest6998541.java135 private static void fail() { method in class:Test6998541
217 try { byte y = (byte) mh_bz.invokeExact(x); fail(); } catch (ClassCastException _) {} // boolean -> byte
218 try { char y = (char) mh_cz.invokeExact(x); fail(); } catch (ClassCastException _) {} // boolean -> char
219 try { short y = (short) mh_sz.invokeExact(x); fail(); } catch (ClassCastException _) {} // boolean -> short
220 try { int y = (int) mh_iz.invokeExact(x); fail(); } catch (ClassCastException _) {} // boolean -> int
221 try { long y = (long) mh_jz.invokeExact(x); fail(); } catch (ClassCastException _) {} // boolean -> long
222 try { float y = (float) mh_fz.invokeExact(x); fail(); } catch (ClassCastException _) {} // boolean -> float
223 try { double y = (double) mh_dz.invokeExact(x); fail(); } catch (ClassCastException _) {} // boolean -> double
251 try { char y = (char) mh_cb.invokeExact(x); fail(); } catch (ClassCastException _) {} // byte -> char
252 try { boolean y = (boolean) mh_zb.invokeExact(x); fail(); } catc
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURI.java2824 private void fail(String reason) throws URISyntaxException { method in class:URI.Parser
2828 private void fail(String reason, int p) throws URISyntaxException { method in class:URI.Parser
2835 fail("Expected " + expected, p);
2841 fail("Expected " + expected + " following " + prior, p);
2959 fail("Malformed escape pair", p);
3002 fail("Illegal character in " + what, p);
3053 fail("end of URI", p);
3167 fail("Illegal character in authority", q);
3202 fail ("scope id expected");
3230 fail("Malforme
[all...]
/openjdk7/jdk/test/java/util/EnumSet/
H A DRetainAll.java73 static void fail() {failed++; Thread.dumpStack();} method in class:RetainAll
74 static void fail(String msg) {System.out.println(msg); fail();} method in class:RetainAll
76 static void check(boolean cond) {if (cond) pass(); else fail();}
79 else fail(x + " not equal to " + y);}
H A DEnumSetBash.java71 fail("Set algebra identity 2 failed");
73 fail("Set algebra identity 3 failed");
75 fail("Set algebra identity 4 failed");
77 fail("Set algebra identity 5 failed");
79 fail("Set algebra identity 6 failed");
81 fail("Set algebra identity 7 failed");
85 fail("Set algebra identity 1 failed");
88 fail("Incorrect hashCode computation.");
93 fail("Couldn't remove element from copy.");
95 fail("Cop
189 static void fail(String s) { method in class:EnumSetBash
[all...]
/openjdk7/langtools/test/tools/javac/T5090006/
H A Dbroken.jar ... public static void assertFalse (boolean) boolean condition public static void fail (java.lang.String) String message public static void ...
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DstubGenerator_sparc.cpp2752 // If this will cause trouble, let's fail now instead of later.
2780 Label load_element, store_element, do_card_marks, fail, done; local
2821 __ BIND(fail);
H A Dassembler_sparc.cpp1847 Label succeed, fail, null_or_fail; local
1900 cmp_and_brx_short(O4_temp, O3_bits, notEqual, pn, fail);
1905 brx(notEqual, false, pn, fail);
1933 bind(fail);
3146 // So if it was a primary super, we can just fail immediately.
4270 // red zones (the bang will fail but stack overflow handling can't tell that
/openjdk7/jdk/test/java/util/EnumMap/
H A DEnumMapBash.java65 fail("New instance non empty.");
74 fail("Size not as expected.");
79 fail("Incorrect hashCode computation.");
81 fail("Incorrect toString computation.");
83 fail("Incorrect equals (1).");
85 fail("Incorrect equals (2).");
90 fail("Collection views test failed.");
95 fail("Linked list doesn't contain a link.");
98 fail("Could not retrieve a link.");
104 fail("Ma
212 static void fail(String s) { method in class:EnumMapBash
[all...]
/openjdk7/jdk/test/java/lang/annotation/
H A DUnitTest.java1321 private static void fail(String test) { method in class:UnitTest
1334 fail("ScalarTypes " + e + ": " + t);
1353 fail("ScalarTypes" + e);
1360 fail("ScalarTypesOverrideDefaults" + e + ": " + t);
1377 fail("ScalarTypesOverrideDefaults" + e);
1384 fail("ScalarTypesAcceptDefaults" + e + ": " + t);
1402 fail("ScalarTypesAcceptDefaults" + e);
1411 fail("ArrayTypes(Empty)" + e + ": " + t);
1429 fail("ArrayTypes(Empty)" + e);
1437 fail("ArrayType
[all...]

Completed in 226 milliseconds

<<11121314