-
公开(公告)号:US07219341B2
公开(公告)日:2007-05-15
申请号:US10285007
申请日:2002-10-31
申请人: Ann Eleanor Dalton , David Granshaw , Matt Richard Hogstrom , Aaron Stephen Jay Kershenbaum , Lawrence Koved , Bert Laonipon , Simon Christopher Nash , Marco Pistola
发明人: Ann Eleanor Dalton , David Granshaw , Matt Richard Hogstrom , Aaron Stephen Jay Kershenbaum , Lawrence Koved , Bert Laonipon , Simon Christopher Nash , Marco Pistola
IPC分类号: G06F9/45
CPC分类号: G06F8/443
摘要: A method, system and apparatus for performing selective data processing based upon a static analysis of the code of a compiled object. A compiled object, for example an enterprise bean, can be analyzed to determine how individual methods in the enterprise bean access specific objects. Those specific objects can include, for instance, data members of a class, or class objects passed into one or more individual methods of the enterprise bean. Where the individual methods of the enterprise bean do not mutate or otherwise change the state of the specific objects, those objects can be accessed by reference only. Importantly, where the specific objects are data fields linked to a table in a database as managed by a container managed persistence (CMP) bean, an update to the table will not be required when the static analysis of the enterprise bean otherwise indicates that the data fields are merely accessed, but not updated.
摘要翻译: 一种用于基于编译对象的代码的静态分析来执行选择性数据处理的方法,系统和装置。 可以分析编译对象,例如企业bean,以确定企业bean中的各个方法如何访问特定对象。 这些特定对象可以包括例如类的数据成员或传递到企业bean的一个或多个单独方法的类对象。 如果企业bean的各个方法不会突变或以其他方式更改特定对象的状态,那么这些对象只能通过引用来访问。 重要的是,特定对象是数据字段链接到由容器管理持久性(CMP)bean管理的数据库中的表的数据字段,当企业bean的静态分析否则表示数据时,将不需要更新表 字段仅被访问,但不被更新。
-
公开(公告)号:US20060224588A1
公开(公告)日:2006-10-05
申请号:US11095985
申请日:2005-03-31
IPC分类号: G06F17/30
CPC分类号: G06F11/3442 , G06F9/485 , G06F9/52 , G06F11/3447 , Y10S707/99938 , Y10S707/99953
摘要: A method in a data processing system for detecting and reducing database contention and deadlock caused from within an application server. A determination is made as to whether a set of parameters in a statistical model indicates contention. If the set of parameters in the statistical model indicates contention, an application server administrator is notified of the contention and the number of threads in an application server pool is reduced. If the set of parameters in the statistical model indicates contention is reduced, the number of threads in the application server pool is increased.
-