Mercurial > hg > graal-compiler
changeset 14325:4f0acb75c921
8028735: runtime/RedefineObject/TestRedefineObject.java interrupted (timed out?) on solaris_sparcv9-fastdebug-c2-runtime and solaris_x64-debugOpen-c2-runtime
Summary: Change GC loop counter to 100 which is enough to test the original problem but doesn't timeout the test.
Reviewed-by: ctornqvi, lfoltan, mseledtsov, sla
author | coleenp |
---|---|
date | Thu, 06 Feb 2014 18:57:46 +0000 |
parents | c86519f8d826 |
children | c09d6af75fd9 |
files | test/runtime/RedefineObject/Agent.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test/runtime/RedefineObject/Agent.java Wed Feb 05 21:24:29 2014 -0800 +++ b/test/runtime/RedefineObject/Agent.java Thu Feb 06 18:57:46 2014 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -65,8 +65,8 @@ public static void main(String[] args) { byte[] ba = new byte[0]; - // If it survives 1000 GC's, it's good. - for (int i = 0; i < 1000 ; i++) { + // If it survives 100 GC's, it's good. + for (int i = 0; i < 100 ; i++) { System.gc(); ba.clone(); }