hg: kulla/dev/langtools: Error handling clean-up. Direct all output through proper channels. Misc clean-up.
Robert Field
robert.field at oracle.com
Fri Feb 20 00:42:56 UTC 2015
On 02/19/15 11:13, Andrei Eremeev wrote:
> Fix failed.
> I used two chunks of code:
> List<byte[]> list = new ArrayList<>();
> while (true) {
> list.add(new byte[100000]);
> }
>
> and
>
> void f() {
> f();
> }
> f();
>
> Each chunk is executed one after another. After several code executions ArrayIndexOutOfBoundsException is thrown:
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
> at impl.EvaluationStateImpl.translateExecutionException(EvaluationStateImpl.java:651)
> at impl.EvaluationStateImpl.execute(EvaluationStateImpl.java:640)
> at tool.Repl.processSource(Repl.java:587)
> at tool.Repl.run(Repl.java:264)
> at tool.Repl.cmdLoad(Repl.java:482)
> at tool.Repl.processCommand(Repl.java:337)
> at tool.Repl.run(Repl.java:262)
> at tool.Repl.start(Repl.java:194)
> at tool.Repl.start(Repl.java:161)
> at tool.Repl.main(Repl.java:156)
Hmmm, the code has shifted since then, but I believe I have fixed this.
Can't reproduce on my system. Please let me know what it does now.
Which test is this occurring for?
>
> or evaluation state dies "| State engine terminated. Resetting...".
That would be the remote VM crashing under the load. I don't think we
can consider that a Kulla bug.
What is your platform?
-Robert
>
> Andrei Eremeev
>
> ----- Original Message -----
> From: robert.field at oracle.com
> To: kulla-dev at openjdk.java.net
> Sent: Thursday, February 19, 2015 2:37:10 AM GMT +04:00 Abu Dhabi / Muscat
> Subject: hg: kulla/dev/langtools: Error handling clean-up. Direct all output through proper channels. Misc clean-up.
>
> Changeset: ec9edd929667
> Author: rfield
> Date: 2015-02-18 15:36 -0800
> URL: http://hg.openjdk.java.net/kulla/dev/langtools/rev/ec9edd929667
>
> Error handling clean-up. Direct all output through proper channels. Misc clean-up.
>
> ! repl/TODO
> ! repl/src/impl/CompletenessAnalyzer.java
> ! repl/src/impl/EvaluationProcessingImpl.java
> ! repl/src/impl/EvaluationStateImpl.java
> ! repl/src/impl/JDIExecution.java
> ! repl/src/impl/MemoryFileManager.java
> ! repl/src/impl/SnippetMaps.java
> ! repl/src/impl/SourceCodeAnalysisImpl.java
> ! repl/src/impl/TaskFactory.java
> ! repl/src/impl/ThreadInfo.java
> ! repl/src/impl/TreeDissector.java
> ! repl/src/impl/Util.java
> ! repl/src/impl/VMConnection.java
> ! repl/src/remote/RemoteAgent.java
>
More information about the kulla-dev
mailing list