Commit Graph

81028 Commits

Author SHA1 Message Date
Vladimir Kozlov
000ac830a0 6671807: (Escape Analysis) Add new ideal node to represent the state of a scalarized object at a safepoint
Values of non-static fields of a scalarized object should be saved in debug info to reallocate the object during deoptimization.

Reviewed-by: never
2008-03-13 16:06:34 -07:00
Daniel D. Daugherty
0745d10694 Merge 2008-03-13 14:17:48 -07:00
Jonathan Gibbons
d3dcc1c115 6559315: Inconsistent non-standard Sun copyright in src/share/opensource/javac/doc/document.css
Remove obsolete files

Reviewed-by: mcimadamore
2008-03-13 13:42:38 -07:00
Roman Kennke
eab1a9b3df 6546113: (bf) CharSequence.slice() on wrapped CharSequence doesn't start at buffer position
Reviewed-by: iris
2008-03-13 19:34:49 +00:00
Alan Bateman
66fa5dcf96 6628575: (fc) lock/tryLock methods do not work with NFS servers that limit lock range to max file size
Reviewed-by: sherman
2008-03-13 19:29:41 +00:00
Sean Mullan
cf50796ba5 6611991: Add support for parsing RFC4514 DNs to X500Principal
Added new test and made one code change to escape null characters.

Reviewed-by: vinnie
2008-03-13 13:29:27 -04:00
Oleg Sukhodolsky
dc0d619ccb 6538066: XSelection should be more passive
Now only XClipboard know about XSelection, and XSelection knows nothing about XClipboard.

Reviewed-by: uta, denis
2008-03-13 17:14:44 +03:00
Oleg Sukhodolsky
205971fd7c 6645856: static field XWindowPeer.defaultFont hides XWindow.defaultFont
Unnedded code has been removed.  Added getter for XWindow.defaultFont to initialize it lazily.

Reviewed-by: dav
2008-03-13 17:08:15 +03:00
Oleg Sukhodolsky
3c81ec3851 6645885: small refactoring for XContentWindow
Move createContent() method from XDecoratedPeer to XContentWindow, so only XContentWindow keep information about the way we position it.

Reviewed-by: anthony
2008-03-13 17:04:54 +03:00
Oleg Sukhodolsky
a7dad49796 6636368: XAtom contains unused code
Unused code has been removed

Reviewed-by: dcherepanov
2008-03-13 16:56:54 +03:00
Oleg Sukhodolsky
9c0e7108a3 6636370: minor corrections and simplification of code in AppContext
MainAppContext, isDisposed, and numAppContexts has beem made volatile.  mostRecentThreadAppContext has been rewritten using ThreadLocal.

Reviewed-by: art
2008-03-13 16:54:51 +03:00
Oleg Sukhodolsky
794142ee36 6636331: ConcurrentModificationException in AppContext code
Added synchronization to AppContext.getAppContexts()

Reviewed-by: art
2008-03-13 16:51:04 +03:00
Oleg Sukhodolsky
59d9653ecf 6636369: sun.awt.datatransfer.DataTransferer contains double-check idiom
Double-check has been removed

Reviewed-by: dav
2008-03-13 16:47:40 +03:00
Oleg Sukhodolsky
43fd376e71 6607163: Linux: Cannot copy image from Java to OpenOffice
TARGETS should have type ATOM

Reviewed-by: denis
2008-03-13 16:42:52 +03:00
Oleg Sukhodolsky
c02f0bd9b7 6603256: Startup: Defer initialization of DropTarget's flavorMap
SystemFlavorMap is lazily initialized now.

Reviewed-by: uta
2008-03-13 16:32:15 +03:00
Oleg Sukhodolsky
16b0d38feb 6592751: EmbeddedFrame disposal is fragile and breaks clean AppContext termination
AppContext.dispose() should be ready to get exceptions during disposal of toplevels.  Also now we mark windows peers as destroyed when native object has been destroyed.

Reviewed-by: art
2008-03-13 16:27:20 +03:00
Oleg Sukhodolsky
d51ba24908 6632140: minor refactoring for XWM
Code cleanup and generificaion for XWM

Reviewed-by: anthony
2008-03-13 16:19:32 +03:00
Oleg Sukhodolsky
ee0c8e43e4 6616095: AWT's WindowDisposerRecord keeps AppContext alive too long
WindowDisposerRecord should not keep strong reference to AppContext.

Reviewed-by: art
2008-03-13 16:12:56 +03:00
Chuck Rasbold
1931e94bad Merge 2008-03-13 05:40:44 -07:00
Oleg Sukhodolsky
2a20e69f1a 6595651: Focus transfers broken for applications embedding AWT across processes
Now we allow cross-process focus requests if focus is in embedder's process.

Reviewed-by: ant
2008-03-13 15:36:31 +03:00
Daniel D. Daugherty
63a8cc420e 6667089: 3/3 multiple redefinitions of a class break reflection
Use instanceKlass::method_with_idnum() instead of slot() to work with RedefineClasses().

Reviewed-by: sspitsyn
2008-03-12 18:39:05 -07:00
Daniel D. Daugherty
2927815658 6452081: 3/4 Allow for Linux builds with Sun Studio Linux compilers
(for Serguei) Allow for Linux builds with Sun Studio Linux compilers

Reviewed-by: sspitsyn, ohair
2008-03-12 18:37:03 -07:00
Daniel D. Daugherty
454bce8993 6453355: 4/4 new No_Safepoint_Verifier uses fail during GC
(for Serguei) Clean up use of No_Safepoint_Verifier in JVM TI

Reviewed-by: dcubed
2008-03-12 18:09:34 -07:00
Daniel D. Daugherty
f813016add 6599425: 4/3 OopMapCache::lookup() can cause later crash or assert() failure
Add should_not_be_cached() to markOop and methodOop and query that status inOopMapCache::lookup()

Reviewed-by: coleenp, sspitsyn, jmasa
2008-03-12 18:07:46 -07:00
Daniel D. Daugherty
0f1d30354a 6497639: 4/3 Profiling Swing application caused JVM crash
Make RedefineClasses() interoperate better with class sharing.

Reviewed-by: sspitsyn, jmasa
2008-03-12 18:06:50 -07:00
John Coomes
1e62d37cc0 Merge 2008-03-12 16:31:37 -07:00
Jonathan Gibbons
7dbe0828de 6668794: javac puts localized text in raw diagnostics
6668796: bad diagnostic "bad class file" given for source files

Replace internal use of localized text with JCDiagnostic fragments; fix diagnostic for bad source file

Reviewed-by: mcimadamore
2008-03-12 13:06:00 -07:00
Bradford Wetmore
b12d27166f Merge 2008-03-11 23:37:02 -07:00
Vladimir Kozlov
b64d5e4209 6667615: (Escape Analysis) extend MDO to cache arguments escape state
Use MDO to cache arguments escape state determined by the byte code escape analyzer.

Reviewed-by: never
2008-03-11 19:00:38 -07:00
Weijun Wang
7434ffcbfb 6673164: dns_fallback parse error
Reviewed-by: valeriep
2008-03-12 09:32:38 +08:00
Jon Masamitsu
3bf59e9c0a 6673975: Disable ZapUnusedHeapArea to reduce GC execution times of debug JVM's
Mangling the unused space is having an adverse affect on testing with fastdebug builds so turn it off by default.

Reviewed-by: ysr, tonyp
2008-03-11 14:19:53 -07:00
Jonathan Gibbons
4cd40a47ff 6307187: clean up code for -Xlint:options
Introduce common code for handling one-of and any-of options

Reviewed-by: mcimadamore
2008-03-11 13:14:55 -07:00
Vladimir Kozlov
96e8bcb6aa 6667620: (Escape Analysis) fix deoptimization for scalar replaced objects
Deoptimization code for reallocation and relocking scalar replaced objects has to be fixed.

Reviewed-by: rasbold, never
2008-03-11 11:25:13 -07:00
Vladimir Kozlov
50708126d4 6623167: C2 crashed in StoreCMNode::Value
C2 crashed in StoreCMNode::Value because n->in(MemNode::OopStore) is 0.

Reviewed-by: rasbold, never
2008-03-11 11:04:40 -07:00
Alan Bateman
40922e9127 6644607: (ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException
Reviewed-by: chegar
2008-03-11 14:49:53 +00:00
Alan Bateman
d5b852b81d 6448457: (ch) Channels.newOutputStream().write() does not write all data
Reviewed-by: iris, sherman
2008-03-11 14:42:35 +00:00
Martin Buchholz
5d9d5e3e88 6625725: (coll) modCount should not be volatile
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Martin Buchholz
95c7559bd3 6583872: (coll) Direct uninformed users away from Vector/Hashtable
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Martin Buchholz
af3cf15e6e 6633113: test/java/util/concurrent/SynchronousQueue/Fairness.java fails intermittently
Reviewed-by: dholmes
2008-03-10 23:23:48 -07:00
Doug Lea
e4f30f8084 6625723: Excessive ThreadLocal storage used by ReentrantReadWriteLock
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Doug Lea
2bcc7a86a0 6620549: ExecutorService#shutdown should clearly state that it does not block
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Doug Lea
f280870c0f 6609775: Reduce context switches in DelayQueue due to signalAll
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Doug Lea
0170151171 6602600: Fast removal of cancelled scheduled thread pool tasks
Reviewed-by: alanb
2008-03-10 23:23:47 -07:00
Martin Buchholz
2ebe861fe5 6612102: (coll) IdentityHashMap.iterator().remove() might decrement size twice
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Martin Buchholz
f8092959d4 6595669: regtest LinkedBlockingQueue/OfferRemoveLoops.java fails
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
Martin Buchholz
5f387b52a1 5080227: (coll spec) Bug in documentation for WeakHashMap
Reviewed-by: dholmes
2008-03-10 23:23:47 -07:00
John Coomes
a39a588efa Merge 2008-03-10 17:21:56 -07:00
Luis Miguel Alventosa
134f15a93f 6655515: MBeans tab: operation return values of type Component displayed as String
6439590: MBeans tab: jconsole mbean tree not correctly refreshed
6446434: MBeans tab: Not possible to view MBean content before all MBeans have been initially loaded
6520144: Hard to find MBean Attributes, Operations, and Notifications in Java 6 jconsole
6522091: VMPanel.java contains non-ASCII character
6608334: JConsole fails to display MBean operation with <null> return type
6611445: MBeans tab: MBean tree algorithm wrongly removes intermediate nodes

Reviewed-by: dfuchs, jfdenise
2008-03-11 01:20:55 +01:00
Kelly O'Hair
c0165a4ae8 6649672: Adjustments to OUTPUTDIR default and mkdirs to avoid empty directory clutter
OUTPUTDIR changes to make sure absolute path is correct.

Reviewed-by: xdono
2008-03-10 16:51:23 -07:00
Luis Miguel Alventosa
c88c71b755 Merge 2008-03-10 23:51:13 +01:00