PC Pals Forum

Technical Help & Discussion => General Tech Discussion, News & Q&A => Topic started by: Simon on August 02, 2011, 22:55

Title: Researchers create "defibrillator" for stalled software
Post by: Simon on August 02, 2011, 22:55
It's a common scenario: a co-worker starts screaming obscenities at a computer because it stalled in the middle of something important.

Researchers at MIT believe they have found a way to fix stalled software without losing work, which they're calling a defibrillator for hung applications.

One major cause of stalled software is infinite loops - when applications execute a single bit of code over and over again. To get out of that frustrating cycle, researchers have created a tool called Jolt that interrupts those infinite loops, pushing the software onto the next line of code.

Jolt looks out for infinite loops by monitoring memory use, taking a series of "snapshots" after each loop.

“The snapshots could be completely different,” explains researcher Michael Carbin. “That can be an indicator that your program is computing. It may be doing something useful for you, so maybe you don’t want to break out of this. But if it’s not, and it has exactly the same state, then clearly it’s stuck in an infinite loop.”

Using Jolt, the researchers have restored five different programs, leaving them stable enough to save work and restart.

Read more: http://www.pcpro.co.uk/news/369076/researchers-create-defibrillator-for-stalled-software
Title: Re: Researchers create "defibrillator" for stalled software
Post by: sam on August 03, 2011, 07:47
hmm...
Title: Re: Researchers create "defibrillator" for stalled software
Post by: Rik on August 03, 2011, 09:56
My thoughts entirely, Sam. The overheads must be huge.
Title: Re: Researchers create "defibrillator" for stalled software
Post by: Clive on August 03, 2011, 15:05
But how we would all love it to work!   :laugh:
Title: Re: Researchers create "defibrillator" for stalled software
Post by: Rik on August 03, 2011, 15:52
What we'd really like is for Windows to work. ;D (Cue Sam...)
Title: Re: Researchers create "defibrillator" for stalled software
Post by: sam on August 03, 2011, 17:33
and it should. If you want an operating system to just work then you are barking up the wrong tree.
Title: Re: Researchers create "defibrillator" for stalled software
Post by: Rik on August 03, 2011, 18:32
Woof. ;D
Title: Re: Researchers create "defibrillator" for stalled software
Post by: Simon on August 03, 2011, 19:00
:laugh:
Title: Re: Researchers create "defibrillator" for stalled software
Post by: sam on August 03, 2011, 22:07
not quite the get ubuntu response you were after, eh?
Title: Re: Researchers create "defibrillator" for stalled software
Post by: Simon on August 03, 2011, 22:36
I think he was baiting you, Sam.  ;D
Title: Re: Researchers create "defibrillator" for stalled software
Post by: sam on August 04, 2011, 07:05
Never.