Instance Interfaces and Mix-ins for Dynamic Languages

    公开(公告)号:US20180165106A1

    公开(公告)日:2018-06-14

    申请号:US15892950

    申请日:2018-02-09

    发明人: Bertrand Le Roy

    摘要: Various technologies and techniques are disclosed for using contracts in dynamic languages. For example, a contract can be directly associated with an object. The contract can then be used to provide type safety for the object. As another example, contracts can be used with mix-ins. A declaration for a contract is provided with a mix-in. The contract is associated with a target object at runtime when applying the mix-in. Conditions can be assigned to mix-ins that must be met before the mix-in can be applied to the target object. At runtime, if the target object meets the one or more conditions, then the mix-in can be applied to the target object.

    METHODS, MEDIA AND SYSTEMS FOR DETECTING ANOMALOUS PROGRAM EXECUTIONS
    3.
    发明申请
    METHODS, MEDIA AND SYSTEMS FOR DETECTING ANOMALOUS PROGRAM EXECUTIONS 审中-公开
    检测异常程序执行的方法,媒体和系统

    公开(公告)号:US20160246665A1

    公开(公告)日:2016-08-25

    申请号:US15014784

    申请日:2016-02-03

    IPC分类号: G06F11/07

    摘要: Methods, media, and systems for detecting anomalous program executions are provided. In some embodiments, methods for detecting anomalous program executions are provided, comprising: executing at least a part of a program in an emulator; comparing a function call made in the emulator to a model of function calls for the at least a part of the program; and identifying the function call as anomalous based on the comparison. In some embodiments, methods for detecting anomalous program executions are provided, comprising: modifying a program to include indicators of program-level function calls being made during execution of the program; comparing at least one of the indicators of program-level function calls made in the emulator to a model of function calls for the at least a part of the program; and identifying a function call corresponding to the at least one of the indicators as anomalous based on the comparison.

    摘要翻译: 提供了用于检测异常程序执行的方法,介质和系统。 在一些实施例中,提供了用于检测异常程序执行的方法,包括:在仿真器中执行程序的至少一部分; 将在仿真器中产生的函数调用与所述程序的至少一部分的函数调用模型进行比较; 并根据比较将功能调用识别为异常。 在一些实施例中,提供了用于检测异常程序执行的方法,包括:修改程序以包括程序执行期间进行的程序级函数调用的指示; 将在仿真器中进行的程序级功能调用的至少一个指标与所述程序的至少一部分的函数调用模型进行比较; 以及基于所述比较,将与所述至少一个所述指示符相对应的功能调用识别为异常。

    Method and system for checking the consistency of application jar files
    4.
    发明授权
    Method and system for checking the consistency of application jar files 有权
    检查应用程序jar文件一致性的方法和系统

    公开(公告)号:US08914784B2

    公开(公告)日:2014-12-16

    申请号:US13157467

    申请日:2011-06-10

    摘要: A computer method and system dynamically provide consistency of Java application files. A processor executed routine is configured (e.g., instrumented as an agent) to intercept each class that is loaded into a subject Java application or JVM. The system computes a cyclic redundancy check (CRC) of the respective JAR file surrounding the loaded class. The system compares the computed CRC value to a CRC value of at least one other copy of the respective JAR file. Based on results of the comparison, the system determines consistency (e.g., same version) of the multiple copies of the respective JAR file used by the subject Java application. If the multiple copies of the respective JAR file are determined to be inconsistent, the system alerts the user and/or enables the application to abort. The comparative CRC value may be stored in a repository; and the step of comparing looks up the stored CRC value in the repository.

    摘要翻译: 计算机方法和系统动态地提供Java应用程序文件的一致性。 配置处理器执行程序(例如,作为代理进行检测)来拦截加载到主题Java应用程序或JVM中的每个类。 系统计算围绕加载类的相应JAR文件的循环冗余校验(CRC)。 系统将计算的CRC值与相应JAR文件的至少一个其他副本的CRC值进行比较。 基于比较的结果,系统确定主题Java应用程序使用的相应JAR文件的多个副本的一致性(例如,相同版本)。 如果确定相应的JAR文件的多个副本不一致,则系统会提醒用户和/或使应用程序中止。 比较CRC值可以存储在存储库中; 并且比较步骤查找存储库中存储的CRC值。

    SEASONAL TRENDING, FORECASTING, ANOMALY DETECTION, AND ENDPOINT PREDICTION OF JAVA HEAP USAGE
    5.
    发明申请
    SEASONAL TRENDING, FORECASTING, ANOMALY DETECTION, AND ENDPOINT PREDICTION OF JAVA HEAP USAGE 审中-公开
    JAVA HEAP使用的季节性变化,预测,异常检测和端点预测

    公开(公告)号:US20140310235A1

    公开(公告)日:2014-10-16

    申请号:US14109546

    申请日:2013-12-17

    IPC分类号: G06F17/30

    摘要: Data can be categorized into facts, information, hypothesis, and directives. Activities that generate certain categories of data based on other categories of data through the application of knowledge which can be categorized into classifications, assessments, resolutions, and enactments. Activities can be driven by a Classification-Assessment-Resolution-Enactment (CARE) control engine. The CARE control and these categorizations can be used to enhance a multitude of systems, for example diagnostic system, such as through historical record keeping, machine learning, and automation. Such a diagnostic system can include a system that forecasts computing system failures based on the application of knowledge to system vital signs such as thread or stack segment intensity and memory heap usage. These vital signs are facts that can be classified to produce information such as memory leaks, convoy effects, or other problems. Classification can involve the automatic generation of classes, states, observations, predictions, norms, objectives, and the processing of sample intervals having irregular durations.

    摘要翻译: 数据可以分为事实,信息,假设和指令。 通过应用可分类到分类,评估,决议和制定的知识,基于其他类别的数据生成某些类别的数据的活动。 活动可以通过分类评估 - 分配制度(CARE)控制引擎来驱动。 CARE控制和这些分类可用于增强大量系统,例如诊断系统,例如通过历史记录保存,机器学习和自动化。 这样的诊断系统可以包括基于将知识应用于诸如线程或堆栈段强度和内存堆使用的系统生命体征来预测计算系统故障的系统。 这些生命体征是可以分类以产生诸如记忆泄漏,车队效应或其他问题的信息的事实。 分类可以涉及自动生成类,状态,观察,预测,规范,目标以及具有不规则持续时间的采样间隔的处理。

    Method and system for detecting memory leaks and copying garbage collection files
    6.
    发明授权
    Method and system for detecting memory leaks and copying garbage collection files 有权
    检测内存泄漏和复制垃圾收集文件的方法和系统

    公开(公告)号:US08793289B2

    公开(公告)日:2014-07-29

    申请号:US11413800

    申请日:2006-04-28

    IPC分类号: G06F17/30 G06F11/07 G06F12/02

    摘要: A system and method are provided to inspect memory leaks and copy garbage collection files. In one embodiment, an original garbage collection file is selected from a plurality of garbage collection files at a file system. The original garbage collection file is periodically copied into a duplicate garbage collection file. The duplicate garbage collection file serves as a backup file to the original garbage collection file.

    摘要翻译: 提供了一种系统和方法来检查内存泄漏和复制垃圾收集文件。 在一个实施例中,从文件系统的多个垃圾收集文件中选择原始垃圾收集文件。 原始垃圾收集文件定期复制到重复的垃圾收集文件中。 重复的垃圾收集文件作为原始垃圾回收文件的备份文件。

    Recording method calls that led to an unforeseen problem
    7.
    发明授权
    Recording method calls that led to an unforeseen problem 有权
    记录方法调用导致不可预见的问题

    公开(公告)号:US08762952B2

    公开(公告)日:2014-06-24

    申请号:US12967204

    申请日:2010-12-14

    IPC分类号: G06F9/44 G06F11/07 G06F11/36

    摘要: A technique assists in resolving problems by aiding in the determination of the root cause of the problem. The technique allows recording of information about methods of executing applications that encounter problems, even if the method was not previously marked for recording. Upon detection of a problem, the method and all other methods on the current execution stack may be marked for retrospective recording. When each method exits, information about entry conditions and exit conditions of each method may be recorded for presentation to a user of the application for problem resolution.

    摘要翻译: 一种技术有助于解决问题,协助确定问题的根本原因。 该技术允许记录关于执行遇到问题的应用程序的方法的信息,即使该方法以前未被标记为记录。 在检测到问题时,可以将当前执行堆栈上的方法和所有其他方法标记为用于追溯记录。 当每个方法退出时,可以记录关于每个方法的输入条件和退出条件的信息以呈现给应用的用户以解决问题。

    Monitoring heap in real-time by a mobile agent to assess performance of virtual machine
    8.
    发明授权
    Monitoring heap in real-time by a mobile agent to assess performance of virtual machine 失效
    通过移动代理实时监控堆,以评估虚拟机的性能

    公开(公告)号:US08713538B2

    公开(公告)日:2014-04-29

    申请号:US13410079

    申请日:2012-03-01

    IPC分类号: G06F9/44

    摘要: A method for monitoring a heap in real-time to assess the performance of a virtual machine. A mobile agent is created to be preloaded with boundary settings for each heap metric. Boundary settings are thresholds that are used to diagnose the effectiveness of operation of the heap. The mobile agent is deployed onto an application server to monitor the effectiveness of operation of the heap of a virtual machine within the application server. If a boundary setting for one of the heap metrics is exceeded, then the mobile agent determines whether a non-critical, a critical or a fatal error has occurred. An appropriate response is then performed. By monitoring the heap in real-time, undesirable behavior characteristics of the heap can be detected early thereby allowing remedial actions to be enacted to address such problems before those problems escalate into more serious problems.

    摘要翻译: 一种用于实时监控堆的方法来评估虚拟机的性能。 创建移动代理以预加载每个堆度量的边界设置。 边界设置是用于诊断堆操作有效性的阈值。 将移动代理部署到应用服务器上以监视应用服务器内的虚拟机堆的操作的有效性。 如果超过了其中一个堆度量的边界设置,则移动代理确定是否发生了非关键,严重或致命错误。 然后执行适当的响应。 通过实时监控堆,可以早期检测到堆的不良行为特征,从而允许在这些问题升级到更严重的问题之前解决这些问题的补救措施。

    Message queue management
    9.
    发明授权
    Message queue management 有权
    消息队列管理

    公开(公告)号:US08667505B2

    公开(公告)日:2014-03-04

    申请号:US12882000

    申请日:2010-09-14

    IPC分类号: G06F11/32 G06F11/30

    摘要: Various embodiments provide message queue management techniques designed to reduce the likelihood of multi-component applications becoming nonresponsive and enable recovery options for individual components if they do become nonresponsive. In at least some embodiments, a message queue manager detects when a component of an application interface becomes nonresponsive and detaches the component from a shared message queue. The shared message queue can continue to process messages for other responsive components while messaging for the nonresponsive component is managed via a separate queue. The message queue manager can also notify a user regarding the nonresponsive component and provide the user with options to facilitate recovery of the nonresponsive component. Further, in at least some embodiments, the message queue manager can monitor a detached component and reattach the detached component when it becomes responsive again.

    摘要翻译: 各种实施例提供了消息队列管理技术,其被设计为减少多组件应用变得不响应的可能性,并且如果它们变得不响应,则为各个组件启用恢复选项。 在至少一些实施例中,消息队列管理器检测应用接口的组件何时变得不响应并且将组件从共享消息队列中分离出来。 共享消息队列可以继续处理其他响应组件的消息,而不响应组件的消息通过单独的队列进行管理。 消息队列管理器还可以通知用户关于非响应组件,并向用户提供便利恢复非响应组件的选项。 此外,在至少一些实施例中,消息队列管理器可以监视分离的组件,并在分离的组件再次响应时重新附加分离的组件。

    Capturing context information in a currently occurring event
    10.
    发明授权
    Capturing context information in a currently occurring event 有权
    捕获当前发生的事件中的上下文信息

    公开(公告)号:US08566798B2

    公开(公告)日:2013-10-22

    申请号:US12252164

    申请日:2008-10-15

    IPC分类号: G06F9/44

    摘要: According to a sample embodiment, a method is provided for capturing context information about an event. A data collector is created comprising instructions to collect specific context data in response to specific conditions in a call stack, and the data collector is registered with a first failure data capture application. In a sample embodiment the first failure data capture application receives a registration for a context data collector. Then, in response to being called, the first failure data capture application looks for at least one of a class and a method defined in the context data collection registration that matches conditions of the call stack. In response to said call stack conditions being met, the first failure data capture application calls the data collector to collect context data from the call stack, receives context data from the context data collector; and presents the context data.

    摘要翻译: 根据示例实施例,提供了一种用于捕获关于事件的上下文信息的方法。 创建数据收集器,其包括响应于调用堆栈中的特定条件来收集特定上下文数据的指令,并且数据收集器被注册到第一故障数据捕获应用。 在示例实施例中,第一故障数据捕获应用接收上下文数据收集器的注册。 然后,响应于被调用,第一个故障数据捕获应用程序查找在上下文数据收集注册中定义的类和方法中匹配条件的调用堆栈中的至少一个。 响应于满足所述调用堆栈条件,第一故障数据捕获应用程序调用数据收集器以从调用堆栈收集上下文数据,从上下文数据收集器接收上下文数据; 并呈现上下文数据。