-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7u45
-
windows_7
A DESCRIPTION OF THE REQUEST :
Since June 2013 we have migrated to win7 x64. Since then performance issue's are reported by our users.
After working with microsoft and our software vendors we discovered that this issue was related to the excessive use of "Display Context" (DC's)
After a bit more searching we discovered this being a bug in the Java JRE (1.6 and 1.7). The bug being described here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7131153
Would it be possible to implement a fix in the current JRE7 releases, as this bug is currently only resolved in the JRE8 code.
Further testing with the developer preview of JRE8 indeed solves the issue we are experiencing.
JUSTIFICATION :
This bug is causing general performance issue's on our windows 7 pc's in combination with 2 java applications.
Every application (even non-java apps) using the win32k.sys is showing massive delays of up to 20 seconds in opening a new window.
ACTUAL -
slow opening of new windows / application popups
Dragging applications and moving mouse cursor are showing serious lagg.
---------- BEGIN SOURCE ----------
---------- BEGIN SOURCE ----------
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class TrueTypeJokerman extends JFrame {
private String textMessage = "Java Internationalization";
public TrueTypeJokerman() {
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
ge.getAllFonts();
Font font = new Font("Jokerman", Font.PLAIN, 35);
JLabel textLabel = new JLabel(textMessage);
textLabel.setFont(font);
getContentPane().add(textLabel);
setVisible(true);
}
public static void main(String[] args) {
JFrame frame = new TrueTypeJokerman();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setVisible(true);
}
}
---------- END SOURCE ----------
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
no workarround available.
Since June 2013 we have migrated to win7 x64. Since then performance issue's are reported by our users.
After working with microsoft and our software vendors we discovered that this issue was related to the excessive use of "Display Context" (DC's)
After a bit more searching we discovered this being a bug in the Java JRE (1.6 and 1.7). The bug being described here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7131153
Would it be possible to implement a fix in the current JRE7 releases, as this bug is currently only resolved in the JRE8 code.
Further testing with the developer preview of JRE8 indeed solves the issue we are experiencing.
JUSTIFICATION :
This bug is causing general performance issue's on our windows 7 pc's in combination with 2 java applications.
Every application (even non-java apps) using the win32k.sys is showing massive delays of up to 20 seconds in opening a new window.
ACTUAL -
slow opening of new windows / application popups
Dragging applications and moving mouse cursor are showing serious lagg.
---------- BEGIN SOURCE ----------
---------- BEGIN SOURCE ----------
import java.awt.Font;
import java.awt.GraphicsEnvironment;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class TrueTypeJokerman extends JFrame {
private String textMessage = "Java Internationalization";
public TrueTypeJokerman() {
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
ge.getAllFonts();
Font font = new Font("Jokerman", Font.PLAIN, 35);
JLabel textLabel = new JLabel(textMessage);
textLabel.setFont(font);
getContentPane().add(textLabel);
setVisible(true);
}
public static void main(String[] args) {
JFrame frame = new TrueTypeJokerman();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setVisible(true);
}
}
---------- END SOURCE ----------
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
no workarround available.
- duplicates
-
JDK-8040395 GetDC called way too many times - causes bad performance.
-
- Resolved
-