Re: Apparent CPU loop

Robert Schwenn <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <[email protected]>
Hi,

just tried to reproduce - without any "success". System:

Windows 10, Oracle JRE 8, jEdit 5.4.0:

java.version=1.8.0_144

java.vm.version=25.144-b01

java.vm.name=Java HotSpot(TM) 64-Bit Server VM

java.runtime.version=1.8.0_144-b01

java.runtime.name=Java(TM) SE Runtime Environment

java.vendor=Oracle Corporation

java.compiler=null

os.name=Windows 10

os.version=10.0

os.arch=amd64

Robert

Am 03.04.2018 um 16:05 schrieb Jarvis, Bob:

I’ve discovered a sequence of operations
which seem to throw jEdit into CPU loop. To do this:

1.
Select some text in jEdit. Any
text will do.

-
Note that jEdit’s CPU usage
remains normal (near or at zero) at this point.

2.
Switch focus to another app.

-
Note that jEdit’s CPU usage
still remains normal.

3.
Switch focus back to jEdit. I do
this by clicking on the title bar at the top of the window so
that the selected text remains selected; however, I’ve tested
it by using Alt-Tab to shift focus to another application and
Alt-Shift-Tab to move focus back to jEdit and the same
behavior occurs.

-
jEdit’s CPU usage immediately
climbs so that it’s consuming an entire core (e.g. 25% in
Windows Task Manager on a quad-core CPU).

4.
Click somewhere in the jEdit
window so that the selected text becomes un-selected.

-
jEdit’s CPU usage drops back to
zero.

This occurs under Windows 7, Oracle Java
1.8, jEdit 5.4.0 and is completely repeatable.

Thanks,

Bob

Bob Jarvis

Senior Programming Analyst

[email protected]

p 330.665.6056 | 375 Ghent Rd.

f 330.665.6266
| Akron, OH 44333

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
image001.png (image/png, 3.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.