Patent classifications
G06F9/4488
Modeling foreign functions using executable references
Techniques for representing a native function using an executable reference are disclosed. The system receives an instruction to create an executable reference for a native function, including a method type comprising a method signature corresponding to the executable reference, and a function description including (a) a memory layout corresponding to data returned by the function and (b) memory layouts corresponding to parameters required by the function. The system selects an application binary interface (ABI). The system generates code that, for each parameter, of the one or more parameters required by the function, converts the parameter from a value formatted for use by a Java Virtual machine to a value formatted for use in the native function, based on the selected ABI. Responsive to invocation of the executable reference, the generated code and the native function may be executed.
MODELING FOREIGN FUNCTIONS USING EXECUTABLE REFERENCES
Techniques for representing a native function using an executable reference are disclosed. The system receives an instruction to create an executable reference for a native function, including a method type comprising a method signature corresponding to the executable reference, and a function description including (a) a memory layout corresponding to data returned by the function and (b) memory layouts corresponding to parameters required by the function. The system selects an application binary interface (ABI). The system generates code that, for each parameter, of the one or more parameters required by the function, converts the parameter from a value formatted for use by a Java Virtual machine to a value formatted for use in the native function, based on the selected ABI. Responsive to invocation of the executable reference, the generated code and the native function may be executed.
Implementing state-based frame barriers to process colorless roots during concurrent execution
An application thread executes concurrently with a garbage collection (GC) thread traversing a call stack of the application thread. Frames of the call stack that have been processed by the GC thread assume a global state associated with the GC thread. The application thread may attempt to return to a target frame that has not yet assumed the global state. The application thread hits a frame barrier, preventing return to the target frame. The application thread determines a frame state of the target frame. The application thread selects appropriate operations for bringing the target frame to the global state based on the frame state. The selected operations are performed to bring the target frame to the global state. The application thread returns to the target frame.
DATA PROCESSING METHOD AND APPARATUS, COMPUTER DEVICE, AND READABLE STORAGE MEDIUM
Embodiments of this application provide a data processing method and apparatus, a computer device, and a readable storage medium. The method includes: setting a state machine of a resource data transfer service to a first state in response to a start request for the resource data transfer service, the start request carrying a state identifier of the first state; executing a first service logic corresponding to the first state, to obtain an execution result of the first service logic; adjusting the state machine to a second state according to the execution result of the first service logic, and executing a second service logic corresponding to the second state, to obtain an execution result of the second service logic; and outputting a service execution result of the resource data transfer service according to the execution result of the second service logic when the second state is a termination state, a service logic of the resource data transfer service including at least the first service logic and the second service logic. In this way, the implementations of the resource data transfer service can be enriched.
In-vehicle processing device
An in-vehicle processing device includes: a signal input unit that generates input data based on an input signal from outside; a processing unit that executes arithmetic processing for calculating output data based on the input data; a signal output unit that generates an output signal based on the output data to output the output signal to the outside; and a storage unit that stores application software for causing the processing unit to execute the arithmetic processing. The application software includes: a data management layer for managing object data which is a collection of data corresponding to a given target element on the storage unit; a data adaptation layer for generating the object data based on the input data to output the generated object data to the data management layer; and a data operation layer for acquiring the object data from the data management layer to calculate the output data based on the acquired object data.
Object-oriented memory for client-to-client communications
Systems and corresponding methods employ an object-oriented (OO) memory (OOM) to effect inter-hardware-client (IHC) communication among a plurality of hardware clients included in same. A system comprises a centralized OOM and the plurality of hardware clients communicate, directly, to the centralized OOM device via OO message transactions. The centralized OOM device effects IHC communication among the plurality of hardware clients based on the OO message transactions. Another system comprises a plurality of OO memories (OOMs) capable of inter-object-oriented-memory-device communication. A hardware client communicates, directly, to a respective OOM device via OO message transactions. The inter-object-oriented-memory-device communication effects IHC communication among the plurality of hardware clients based on the OO message transactions.
SERVICE DATA MANAGEMENT METHOD AND APPARATUS FOR SBB, DEVICE AND STORAGE MEDIUM
A service data management method and apparatus for service building blocks (SBB), a device and a storage medium are provided, and a service data setting interface is extended. When service data needs to be set, the service data is received through the service data setting interface, and service data to be set is added into a service data set of a service corresponding to service identification information according to the service identification information and the service data to be set in the service data setting instruction. When it is detected that an SBB needs to be configured with the service data, service data corresponding to the SBB in the service data set corresponding to the SBB is directly configured for the SBB, i.e., the set service data takes effect immediately and is able to be called by the corresponding the SBB in real time.
SOFTWARE OBJECT IDENTIFICATION USING RECORD GENERATING CODE INSERTION
Using a code transformation tool, a portion of executable code is inserted into existing executable code, the existing executable code comprising an existing constructor of a class, the existing constructor, when executed, instantiating an object of the class. During execution of the existing constructor, execution of the portion is caused to occur, the execution generating a record, the record comprising execution tracing data of the object.
Initial loading of partial deferred object model
Partial initial construction of a deferred object model. This is done using a map that correlates positions of a hierarchically structured definition and corresponding hierarchical positions within an object model. The map is accessed and used to initially construct a deferred object model that even leaves some of the deferred objects unpopulated. The map is used to determine which parts of the hierarchical object definition no longer need to be parsed in order to construct this initial form of the deferred object model. If a request for an object is detected at some point after the initial construction, and that requested object is not represented even in deferred form in the deferred object model, the system uses the map to find the position of the corresponding object definition in the hierarchical object definition. At that point, the system parses that position, and constructs the object.
DOMAIN EVENTS FOR A MULTI-PLATFORM DATA STREAM
This disclosure relates to methods, non-transitory computer readable media, and systems that relay domain-event objects within an enhanced multi-platform data stream to listen for and react to digital events indicated by the domain-event objects that occur across a wide variety of computing platforms. Specifically, the disclosed systems can receive domain-event objects within the multi-platform data stream. From among the domain-even objects transmitted through the multi-platform data stream, the disclosed systems can identify a domain-event object that is relevant to a digital-analytics platform by identifying domain-event objects that include properties satisfying domain-event-listener rules. Based on an entity identifier and an object event from the relevant domain-event object, the disclosed systems can perform a platform action within the digital-analytics platform (e.g., to react to a change in another platform as indicated by the domain-event object).