If the problem remains a mystery after analyzing the PMI data, a set of thread dumps of the JVM often pinpoints synchronized methods and other common problems.
如果在评测pmi数据以后,仍然没有找到问题所在,JVM的一些线程堆经常能定位同步方法和其他常见问题。
To do this, we set the thread priority of the polling threads to 38 (the highest RT priority) and the priorities of the triage pool threads to 37.
为此,我们将轮询线程的线程优先级设置为38(最高的RT 优先级),将筛选池线程的优先级设置为 37。
When the synchronization object is used in one of the wait functions, the wait function blocks the calling thread until the state of the synchronized object is set to signaled.
当在一个等待函数中使用同步对象时,等待函数就会阻塞调用线程,直到同步对象的状态被设置为有信号为止。
A breakpoint causes the execution of a program thread to suspend at the location where the breakpoint is set.
断点可以使程序执行的线程悬挂在断点设置的位置。
A single worker thread might be able to push one logic CPU to 100% utilization in the LPAR, so the total thread number is set to number of the CPUs minus 1.
单个工作线程也许就能迫使LPAR中的一个逻辑CPU达到100%的利用率,因此将总线程数量设置为CPU数量减1。
Once the priority class of the process is set, SetThreadPriority is used to set the priority level of the thread within the priority class of the process.
一旦设置了进程的优先级等级,就可以使用SetThreadPriority在进程的优先级等级内部设置线程的优先级层次。
Finally, the bottom of the VADump -o output is a summary of the relative contributions to the working set from DLLs, heaps, and thread stacks.
最后,在VADump- o输出的最下端总结了DLL、堆和线程栈对工作集的相对贡献。
Instead of allocating one thread per open socket, we place all requests into a generic queue serviced by a set of RequestHandlerThread instances.
不是为每个打开的socket分配一个线程,相反,我们把所有请求放到一个由一组RequestHandlerThread实例所服务的通用队列中。
The TPL also has a new set of features not seen in either threads or thread pools. For example, Tasks have a safe Cancel method.
TPL还拥有一套从前的线程或线程池所不具备的新功能,例如任务拥有一个安全的Cancel方法。
If multiple threads were specified for one or more thread Groups, then the same message set would have been sent multiple times, defeating the purpose of the random selection criterion.
如果对于一个或者多个ThreadGroup指定多个线程,那么相同的消息集合将会被发送多次,这将违背随机选取准则的目标。
If the default handler is set with the latter pair of methods, any thread that doesn't have its own exception handler will use the default.
如果使用第二对方法设置默认处理程序,那么没有自己的异常处理程序的所有线程都将使用默认处理程序。
This tracing starts with the root set, which consists of internal structures such as thread stacks and global references to objects.
这个跟踪以根集开始,它由一些内部结构组成,比如线程栈和对象的全局引用。
This contains a set of values, one per instance per thread, for use in reduction operations.
它包含一些值,与实例或线程一一对应,在归约操作中使用。
That line runs like a thread through “The Wandering Falcon”, Jamil Ahmad’s finely crafted first novel of stories set amid the Pushtun and Baluchi tribes that make up Pakistan’s wild west.
这本书经过了贾米尔•艾哈迈德精雕细琢,是第一部以普什图和俾路支部落为背景的小说,这两个部落支撑起了巴基斯坦荒凉的西部。
This is set up in its own thread during the init method of the servlet and taken down in the destroy method of the servlet.
这个类的实例是在servlet的init方法中在其自身的线程中创建,并在servlet的destroy方法中销毁的。
Handling each element of the Set in its own thread should speed up the whole job considerably.
在单独的线程内处理Set的每个元素应该可以显著提高整个工作的处理速度。
ThreadLocal variables are different from normal variables in that each thread has its own individually initialized instance of the variable, which it accesses via get() or set() methods.
ThreadLocal变量与常规变量的不同之处在于,每个线程都有其各自初始化的变量实例,这通过get()或set()方法予以评估。
The AuthorizedCalls bean (shown in Listing 13) provides thread-safe methods for managing the set of authorized calls.
Authorized Callsbean(见清单13)提供了一些线程安全的方法,用于管理这个经过授权的调用的集合。
After the silverware lock is acquired, a thread could examine variables to see if a complete set of silverware is available.
当某个线程获得银器对象的锁时,就可以通过检查变量来判断是否整个银器集合中的对象锁都可获得。
Since the procedure is so quick — it takes just three to five minutes to thread a set of eyebrows — it is easy to see whether the threader changes threads and cleans up between customers.
由于棉线修眉非常迅速--大约只需要3-5分钟即可修完双眉--很容易便可看出修眉师有没有在两名顾客之间更换棉线和清洁装备。
Or you could write a set of detectors that verify that your J2EE code is following the appropriate restrictions, such as no Thread or Socket creation.
也许可以编写一组检测器,它们验证j 2ee代码遵守适当的限制,如不创建Thread或者Socket。
Top view of slotted head set screw. Selection box represents thread diameter.
一字槽头螺钉的俯视图。选择框代表螺纹直径。
You can use volatile variables instead of locks only under a restricted set of circumstances. Both of the following criteria must be met for volatile variables to provide the desired thread-safety.
您只能在有限的一些情形下使用volatile变量替代锁。
Top view of fluted socket head set screw. Selection box represents thread diameter.
凹槽插口螺钉的俯视图。选择框代表螺纹直径。
When the thread is finished with the resource, it must set the state of the mutex to signaled to allow other threads to access the resource.
当这个线程完成了,它必须改变互斥锁为标记状态,以便其他的进程可以访问这些资源。
Top view of bevel headed, hexagonal head set screw. Selection box represents thread diameter.
斜切六角螺钉的俯视图。选择框代表螺纹直径。
Top view of square head set screw. Selection box represents thread diameter.
方头螺钉的俯视图。选择框代表螺纹直径。
Top view of square head set screw. Selection box represents thread diameter.
方头螺钉的俯视图。选择框代表螺纹直径。
应用推荐