hreads consuming high cpu tracked down to unsynchronized hashmap usage in com.sun.corba.se.impl.transport.SelectorImpl.createReaderThread. ustomer make this change to their jdk 5.0 based jar file. It is reported that with customized changes as shown below (lines with keyword CSB), the issue is resolved. /* * @(#)SelectorImpl.java 1.22 09/04/01 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ ... import java.util.Map; // Added this line CSB ... private Map readerThreads; // Used to be HashMap CSB ... readerThreads = (Map) java.util.Collections.synchronizedMap(new HashMap()); // Use synchronizedMap CSB
|