摘要:
A system, method, and program of the invention enables a separating region to be displayed adjacent to at least one side of a problem menu choice within a menu list in a user interface. The problem menu choice may be any menu choice that has the potential for causing undesirable effects if it is inadvertently selected by a user, such as by overshooting a desired menu choice with a displayed pointer. The separating region creates a non-selectable area that buffers the problem menu choices from the other menu choices. The user is notified if the user moves the displayed pointer into the separating region. The notification may include any one or more of the following: i) changing the rate of movement of the displayed pointer, ii) causing the displayed pointer to change in appearance, and iii) causing an audible sound. The separating region may be partitioned into zones wherein certain characteristics of the notification is dependent upon the zone location of the displayed pointer. In addition, the displayed pointer may change in appearance or a tone may sound at various frequencies, pitches or volumes dependent upon the location of the displayed pointer in the separating region or within one of its zones. In a further embodiment, the displayed pointer decreases its rate of movement as it passes through a separating region towards a problem menu choice, and increases its rate of movement as it enters into a selectable area of the problem menu choice.
摘要:
A system, method, and program of the invention reduces the chance of a user accidentally making a menu selection error, without causing the user extra effort in responding to a confirmation dialog. A menu layout is displayed in which a problem menu choice has a barrier around at least a part of its boundary. In one preferred embodiment, the barrier stops a pointer from entering the problem menu choice. A user must control the pointer through an opening in the barrier in order to move the pointer onto the problem menu choice. In another embodiment, the barrier does not impede the movement of a pointer crossing its boundary. Instead, as a pointer is moved across the boundary onto a problem menu choice, the problem menu choice becomes non-selectable. The problem menu choice becomes selectable again if the pointer is moved out of the problem menu choice and then back onto the problem menu choice through an opening in the boundary.
摘要:
The present disclosure provides a computer program product and activity recording system for identifying idleness in a processor via a concurrent software environment. A thread state indicator records an indication of a synchronization state of a software thread that is associated with an identification of the software thread. A time profiler identifies a processor of the computer system being idle and records an indication that the processor is idle. A dispatch monitor identifies a dispatch of the software thread to the processor. In response to the dispatch monitor determining the indication identifies that the processor is idle and the indication of a synchronization state of the software thread indicating the software thread ceases to execute in the processor, the dispatch monitor generates a record attributing the idleness of the processor to the software thread and the indicated synchronization state.
摘要:
A computer implemented method, apparatus, and computer program product for managing garbage collection. Monitoring is performed for a garbage collection state in a virtual machine. Responsive to detecting the garbage collection state, a priority for a set of garbage collection threads is increased.
摘要:
The present disclosure provides a method, computer program product, and system for compensating for event counts for a thread occurring during targeted states on the thread. In example embodiments, the state is a spin loop state and instructions completed during the spin loop are eliminated from a performance report and are presented in the absence of the spin loop. In another embodiment, the event counts are interrupt counts eliminated during the spin loop.
摘要:
A computer implemented method, apparatus, and computer usable program code for monitoring and managing a stack. Usage of stack space is monitored for a plurality of threads. Usage of stack space is compared to a policy to form a comparison. An action is selectively initiated based on the comparison to the policy.
摘要:
A method, apparatus, and computer instructions in a processor for selectively performing operations on data. An operation to be performed on data is identified to form an identified operation. A determination is made as to whether metadata identifying a state of the data is associated with the data. A determination is made as to whether the identified operation can be performed on the data based on the state of the data, in response to the metadata being associated with the data. The operation is performed on the data if the state of the data allows for the operation to be performed. The processor selectively performs the operations based on the state of the data.
摘要:
Hardware assist to autonomically patch code. The present invention provides hardware microcode to a new type of metadata to selectively identify instructions to be patched for specific performance optimization functions. The present invention also provides a new flag in the machine status register (MSR) to enable or disable a performance monitoring application or process to perform code-patching functions. If the code patching function is enabled, the application or process may patch code at run time by associating the metadata with the selected instructions. The metadata includes pointers pointing to the patch code block code. The program code may be patched autonomically without modifying original code.
摘要:
A computer implemented method, apparatus, and computer usable program code for sampling call stack information. An event is monitored during execution of a plurality of threads executed by a plurality of processors. In response to an occurrence of the event, a thread is identified in the plurality of threads to form an identified thread. A plurality of sampling threads is woken, wherein a sampling thread within the plurality of sampling threads is associated with each processor in the plurality of processors and wherein one sampling thread in the plurality of sampling threads obtains call stack information for the identified thread.
摘要:
A method, apparatus, and computer instructions for determining computer flows autonomically using hardware assisted thread stack and cataloged symbolic data. When a new thread is spawned during execution of a computer program, new thread work area is allocated by the operating system in memory for storage of call stack information for the new thread. Hardware registers are set with values corresponding to the new thread work area. Upon context switch, values of the registers are saved in a context save area for future restoration.When call stack data is post-processed, the operating system or a device driver copies call stack data from the thread work areas to a consolidated buffer and each thread is mapped to a process. Symbolic data may be obtained based on the process identifier and address of the method/routine that was called/returned in the thread. Corresponding program flow is determined using retrieved symbolic data and call stack data.