78,763 research outputs found
Instrumenting self-modifying code
Adding small code snippets at key points to existing code fragments is called
instrumentation. It is an established technique to debug certain otherwise hard
to solve faults, such as memory management issues and data races. Dynamic
instrumentation can already be used to analyse code which is loaded or even
generated at run time.With the advent of environments such as the Java Virtual
Machine with optimizing Just-In-Time compilers, a new obstacle arises:
self-modifying code. In order to instrument this kind of code correctly, one
must be able to detect modifications and adapt the instrumentation code
accordingly, preferably without incurring a high penalty speedwise. In this
paper we propose an innovative technique that uses the hardware page protection
mechanism of modern processors to detect such modifications. We also show how
an instrumentor can adapt the instrumented version depending on the kind of
modificiations as well as an experimental evaluation of said techniques.Comment: In M. Ronsse, K. De Bosschere (eds), proceedings of the Fifth
International Workshop on Automated Debugging (AADEBUG 2003), September 2003,
Ghent. cs.SE/030902
Layout Optimization of a repair facility using discrete event simulation
Technological advancements in the field of simulation have enabled production managers to model and simulate their facilities under various scenarios, in order to optimize system performance. In particular the reconfiguration of factory layouts can be time consuming and expensive; Discrete Event Simulation (DES) can be used to model and assess various scenarios to assist production managers with layout planning. Significant benefits can be achieved through the use of DES for factory layout optimization including: decreased lead times, reduced manufacturing costs, efficient materials handling and increased profit. This paper presents the development of a DES model in WITNESS for the analysis and factory layout optimization of a repair facility. The aim of the model is to allow decision makers to assess various layouts and configurations with a view to optimize production. The model has been built with a link to an Excel spreadsheet to enable data input and the visualization of Key Performance Indicators (KPIs). Specific functions have been built into the simulation model to set and save new layouts within Excel to facilitate layout optimization. The model will be used to optimize the factory configuration
- …