Browse Prior Art Database

Method and apparatus for adapting code generated by a dynamic compiler in response to thermal conditions

IP.com Disclosure Number: IPCOM000016331D
Original Publication Date: 2002-Oct-21
Included in the Prior Art Database: 2003-Jun-21
Document File: 1 page(s) / 41K

Publishing Venue

IBM

Abstract

Disclosed is a dynamic compiler which adapts its code generation in response to thermal conditions. According to the present invention, a dynamic compiler is operatively coupled with at least one sensor for sensing thermal conditions (or power consumption). When the sensor indicates that a specified threshold has been exceeded, it performs a notification. In one embodiment, this notification causes the dynamic compiler to clear the translation cache and recompiling the code with parameters selected to reduce peak power consumption. In another embodiment, only a subset of translation groups are invalidated. In one embodiment, these can be selected as the last n groups preceding the current group, for n 0. In another embodiment, only the current instruction group is invalidated. After invalidation, the invalidated groups are recompiled with parameters selected to reduce peak power consumption. 1

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 1

  Method and apparatus for adapting code generated by a dynamic compiler in response to thermal conditions

   Disclosed is a dynamic compiler which adapts its code generation in response to thermal conditions. According to the present invention, a dynamic compiler is operatively coupled with at least one sensor for sensing thermal conditions (or power consumption). When the sensor indicates that a specified threshold has been exceeded, it performs a notification.

In one embodiment, this notification causes the dynamic compiler to clear the translation cache and recompiling the code with parameters selected to reduce peak power consumption.

In another embodiment, only a subset of translation groups are invalidated. In one embodiment, these can be selected as the last n groups preceding the current group, for n >= 0. In another embodiment, only the current instruction group is invalidated. After invalidation, the invalidated groups are recompiled with parameters selected to reduce peak power consumption.

1