WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 4f1291e5 authored by Andreas Sewe's avatar Andreas Sewe
Browse files

Addressed issue #3056006 (changed "user.home" system property during actual benchmark iteration).

parent ce71c314
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
package org.dacapo.harness; package org.dacapo.harness;
import java.io.File; import java.io.File;
import java.util.Properties;
import org.dacapo.harness.Benchmark; import org.dacapo.harness.Benchmark;
import org.dacapo.parser.Config; import org.dacapo.parser.Config;
...@@ -33,6 +34,16 @@ public class Avrora extends Benchmark { ...@@ -33,6 +34,16 @@ public class Avrora extends Benchmark {
args = config.preprocessArgs(size, scratch); args = config.preprocessArgs(size, scratch);
} }
public void augmentSystemProperties(Properties systemProperties) {
* The benchmark attempts to access a configuration file under
* "${user.home}/.avrora". Make sure that it does not exist.
systemProperties.setProperty("user.home", fileInScratch(config.name));
public void iterate(String size) throws Exception { public void iterate(String size) throws Exception {
method.invoke(null, (Object) args); method.invoke(null, (Object) args);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment