US20090198776A1 - Computer architecture and method of operation for multi-computer distributed processing with initialization of objects - Google Patents
Computer architecture and method of operation for multi-computer distributed processing with initialization of objects Download PDFInfo
- Publication number
- US20090198776A1 US20090198776A1 US12/340,303 US34030308A US2009198776A1 US 20090198776 A1 US20090198776 A1 US 20090198776A1 US 34030308 A US34030308 A US 34030308A US 2009198776 A1 US2009198776 A1 US 2009198776A1
- Authority
- US
- United States
- Prior art keywords
- computers
- computer
- application program
- single computer
- code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
- 238000000034 method Methods 0.000 title claims description 427
- 238000012545 processing Methods 0.000 title claims description 59
- 238000004891 communication Methods 0.000 claims description 115
- 238000004590 computer program Methods 0.000 claims description 40
- 238000003860 storage Methods 0.000 claims description 12
- 230000006872 improvement Effects 0.000 claims description 7
- 238000009826 distribution Methods 0.000 claims description 6
- 230000000644 propagated effect Effects 0.000 claims description 6
- 230000003213 activating effect Effects 0.000 claims description 3
- 230000001902 propagating effect Effects 0.000 claims 2
- 238000012986 modification Methods 0.000 description 89
- 230000004048 modification Effects 0.000 description 78
- 239000003607 modifier Substances 0.000 description 40
- 230000006870 function Effects 0.000 description 27
- 230000001427 coherent effect Effects 0.000 description 22
- 239000012634 fragment Substances 0.000 description 19
- 230000008859 change Effects 0.000 description 18
- 230000008569 process Effects 0.000 description 18
- 230000004044 response Effects 0.000 description 13
- 239000011800 void material Substances 0.000 description 12
- 238000004458 analytical method Methods 0.000 description 9
- 230000008901 benefit Effects 0.000 description 9
- 230000000694 effects Effects 0.000 description 9
- 238000011423 initialization method Methods 0.000 description 9
- 230000003068 static effect Effects 0.000 description 9
- 230000006399 behavior Effects 0.000 description 5
- 230000008676 import Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 238000011980 disaster recovery test Methods 0.000 description 4
- 230000010076 replication Effects 0.000 description 4
- 230000009466 transformation Effects 0.000 description 4
- 238000013519 translation Methods 0.000 description 4
- 206010000210 abortion Diseases 0.000 description 3
- 231100000176 abortion Toxicity 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000002547 anomalous effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 238000000638 solvent extraction Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 239000000654 additive Substances 0.000 description 1
- 230000000996 additive effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003292 diminished effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000873 masking effect Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/45—Exploiting coarse grain parallelism in compilation, i.e. parallelism between groups of instructions
- G06F8/456—Parallelism detection
Definitions
- the present invention relates to computers and other computing machines and information appliances, in particular, to a modified computer architecture and program structure which enables the operation of an application program concurrently or simultaneously on a plurality of computers interconnected via a communications link using a distributed runtime and enables improved performance to be achieved.
- single prior art machine 1 is made up from a central processing unit, or CPU, 2 which is connected to a memory 3 via a bus 4 . Also connected to the bus 4 are various other functional units of the single machine 1 such as a screen 5 , keyboard 6 and mouse 7 .
- a fundamental limit to the performance of the machine 1 is that the data to be manipulated by the CPU 2 , and the results of those manipulations, must be moved by the bus 4 .
- the bus 4 suffers from a number of problems including so called bus “queues” formed by units wishing to gain an access to the bus, contention problems, and the like. These problems can, to some extent, be alleviated by various stratagems including cache memory, however, such stratagems invariably increase the administrative overhead of the machine 1 .
- FIG. 3 A further possibility of increased computer power through the use of a plural number of machines arises from the prior art concept of distributed computing which is schematically illustrated in FIG. 3 .
- a single application program (Ap) is partitioned by its author (or another programmer who has become familiar with the application program) into various discrete tasks so as to run upon, say, three machines in which case n in FIG. 3 is the integer 3.
- the intention here is that each of the machines M 1 . . . M 3 runs a different third of the entire application and the intention is that the loads applied to the various machines be approximately equal.
- the machines communicate via a network 14 which can be provided in various forms such as a communications link, the internet, intranets, local area networks, and the like.
- the speed of operation of such networks 14 is an order of magnitude slower than the speed of operation of the bus 4 in each of the individual machines M 1 , M 2 , . . . , Mn.
- Distributed computing suffers from a number of disadvantages. Firstly, it is a difficult job to partition the application and this must be done manually. Secondly, communicating data, partial results, results and the like over the network 14 is an administrative overhead. Thirdly, the need for partitioning makes it extremely difficult to scale upwardly by utilising more machines since the application having been partitioned into, say three, does not run well upon four machines. Fourthly, in the event that one of the machines should become disabled, the overall performance of the entire system is substantially degraded.
- a further prior art arrangement is known as network computing via “clusters” as is schematically illustrated in FIG. 4 .
- the entire application is loaded onto each of the machines M 1 , M 2 , . . . , Mn.
- Each machine communicates with a common database but does not communicate directly with the other machines.
- each machine runs the same application, each machine is doing a different “job” and uses only its own memory. This is somewhat analogous to a number of windows each of which sell train tickets to the public.
- This approach does operate, is scalable and mainly suffers from the disadvantage that it is difficult to administer the network.
- Synchronization more generally refers to the exclusive use of an object, class, resource, structure, or other asset to avoid contention between and among computers or machines. This is achieved in JAVA by the “monitor enter” and “monitor exit” instructions or routines. Other languages use different terms but utilize a similar concept.
- the present invention discloses a computing environment in which an application program operates simultaneously on a plurality of computers.
- an application program operates simultaneously on a plurality of computers.
- the present invention further discloses a computing environment in which an application program operates simultaneously on a plurality of computers.
- an application program operates simultaneously on a plurality of computers.
- a multiple computer system having at least one application program each written to operate on only a single computer but running simultaneously on a plurality of computers interconnected by a communications network, wherein different portions of said application program(s) execute substantially simultaneously on different ones of said computers and for each said portion a like plurality of substantially identical objects are created, each in the corresponding computer and each having a substantially identical name, and wherein the initial contents of each of said identically named objects is substantially the same.
- a plurality of computers interconnected via a communications link and simultaneously operating at least one application program each written to operation on only a single computer wherein each said computer substantially simultaneously executes a different portion of said application program(s), each said computer in operating its application program portion creates objects only in local memory physically located in each said computer, the contents of the local memory utilized by each said computer are fundamentally similar but not, at each instant, identical, and every one of said computers has distribution update means to distribute to all other said computers objects created by said one computer.
- a method of compiling or modifying an application program written to operate on only a single computer to have different portions thereof to execute substantially simultaneously on different ones of a plurality of computers interconnected via a communications link comprising the steps of: (i) detecting instructions which create objects utilizing one of said computers, (ii) activating an initialization routine following each said detected object creation instruction, said initialization routine forwarding each created object to the remainder of said computers.
- a multiple thread processing computer operation in which individual threads of a single application program written to operate on only a single computer are simultaneously being processed each on a different corresponding one of a plurality of computers interconnected via a communications link, the improvement comprising communicating objects created in local memory physically associated with the computer processing each thread to the local memory of each other said computer via said communications link.
- a method of ensuring consistent initialization of an application program written to operate on only a single computer but different portions of which are to be executed simultaneously each on a different one of a plurality of computers interconnected via a communications network comprising the steps of: (i) scrutinizing or analysing said application program at, or prior to, or after loading to detect each program step defining an initialization routine, and (ii) modifying said initialization routine to ensure consistent operation of all said computers.
- a computer program product comprising a set of program instructions stored in a storage medium and operable to permit a plurality of computers to carry out the abovementioned methods.
- a distributed run time and distributed run time system adapted to enable communications between a plurality of computers, computing machines, or information appliances.
- a modifier, modifier means, and modifier routine for modifying an application program written to execute on a single computer or computing machine at a time to execute simultaneously on a plurality of networked computers or computing machines, distributed run time and distributed run time system adapted to enable communications between a plurality of computers, computing machines, or information appliances.
- a computer program and computer program product written to operate on only a single computer but product comprising a set of program instructions stored in a storage medium and operable to permit a plurality of computers to carry out the abovementioned procedures, routines, and methods.
- FIG. 1 is a schematic view of the internal architecture of a conventional computer
- FIG. 2 is a schematic illustration showing the internal architecture of known symmetric multiple processors
- FIG. 3 is a schematic representation of prior art distributed computing
- FIG. 4 is a schematic representation of a prior art network computing using clusters
- FIG. 5 is a schematic block diagram of a plurality of machines operating the same application program in accordance with a first embodiment of the present invention
- FIG. 6 is a schematic illustration of a prior art computer arranged to operate JAVA code and thereby constitute a JAVA virtual machine
- FIG. 7 is a drawing similar to FIG. 6 but illustrating the initial loading of code in accordance with the preferred embodiment
- FIG. 8 is a drawing similar to FIG. 5 but illustrating the interconnection of a plurality of computers each operating JAVA code in the manner illustrated in FIG. 7 ;
- FIG. 9 is a flow chart of the procedure followed during loading of the same application on each machine in the network.
- FIG. 10 is a flow chart showing a modified procedure similar to that of FIG. 9 ;
- FIG. 11 is a schematic representation of multiple thread processing carried out on the machines of FIG. 8 utilizing a first embodiment of memory updating;
- FIG. 12 is a schematic representation similar to FIG. 11 but illustrating an alternative embodiment
- FIG. 13 illustrates multi-thread memory updating for the computers of FIG. 8 ;
- FIG. 14 is a schematic illustration of a prior art computer arranged to operate in JAVA code and thereby constitute a JAVA virtual machine
- FIG. 15 is a schematic representation of n machines running the application program and serviced by an additional server machine X;
- FIG. 16 is a flow chart of illustrating the modification of initialization routines
- FIG. 17 is a flow chart illustrating the continuation or abortion of initialization routines
- FIG. 18 is a flow chart illustrating the enquiry sent to the server machine X;
- FIG. 19 is a flow chart of the response of the server machine X to the request of FIG. 18 ;
- FIG. 20 is a flowchart illustrating a modified initialization routine for the class initialization ⁇ clinit> instruction:
- FIG. 21 is a flowchart illustrating a modified initialization routine for the object initialization ⁇ init> instruction
- FIG. 22 is a schematic representation of two laptop computers interconnected to simultaneously run a plurality of applications, with both applications running on a single computer;
- FIG. 23 is a view similar to FIG. 22 but showing the FIG. 22 apparatus with one application operating on each computer;
- FIG. 24 is a view similar to FIGS. 22 and 23 but showing the FIG. 22 apparatus with both applications operating simultaneously on both computers.
- Annexures A and B which provide actual program fragments which implement various aspects of the described embodiments.
- Annexure A relates to fields and Annexure B relates to initialization.
- Annexures A and B which provide exemplary actual program or code fragments which implement various aspects of the described embodiments. Although aspects of the invention are described throughout the specification including the Annexes, drawings, and claims, it may be appreciated that Annexure A relates primarily to fields, and Annexure B relates primarily to initialization.
- Annexures A 1 -A 10 illustrate exemplary code to illustrate embodiments of the invention in relation to fields.
- Annexure B 1 is an exemplary typical code fragment from an unmodified class initialization ⁇ clinit> instruction
- Annexure B 2 is an equivalent in respect of a modified class initialization ⁇ clinit> instruction
- Annexure B 3 is a typical code fragment from an unmodified object initialization ⁇ init> instruction
- Annexure B 4 is an equivalent in respect of a modified object initialization ⁇ init> instruction.
- Annexure B 5 is an alternative to the code of Annexure B 2 for an unmodified class initialization instruction
- Annexure B 6 is an alternative to the code of Annexure B 4 for a modified object initialization ⁇ init> instruction.
- Annexure B 7 is exemplary computer program source-code of InitClient, which queries an “initialization server” for the initialization status of the relevant class or object.
- Annexure B 8 is the computer program source-code of InitServer, which receives an initialization status query by InitClient and in response returns the corresponding status.
- Annexure B 9 is the computer program source-code of the example application used in the before/after examples of Annexure B 1 -B 6 .
- the present invention discloses a modified computer architecture which enables an applications program to be run simultaneously on a plurality of computers in a manner that overcomes the limitations of the aforedescribed conventional architectures, systems, methods, and computer programs.
- shared memory at each computer may be updated with amendments and/or overwrites so that all memory read requests are satisfied locally.
- instructions which result in memory being re-written or manipulated are identified. Additional instructions are inserted into the program code (or other modification made) to cause the equivalent memory locations at all computers to be updated. While the invention is not limited to JAVA language or virtual machines, exemplary embodiments are described relative to the JAVA language and standards.
- the initialization of JAVA language classes and objects are provided for so all memory locations for all computers are initialized in the same manner.
- the finalization of JAVA language classes and objects is also provide so finalization only occurs when the last class or object present on all machines is no longer required.
- synchronization is provided such that instructions which result in the application program acquiring (or releasing) a lock on a particular asset (synchronization) are identified. Additional instructions are inserted (or other code modifications performed) to result in a modified synchronization routine with which all computers are updated.
- one of the features of the invention is to make it appear that one common application program or application code and its executable version (with likely modification) is simultaneously or concurrently executing across a plurality of computers or machines M 1 , . . . , Mn.
- the instant invention achieves this by running the same application program (for example, Microsoft Word or Adobe Photoshop CS2) on each machine, but modifying the executable code of that application program on each machine as necessary such that each executing instance (‘copy’) on each machine coordinates its local operations on any particular machine with the operations of the respective instances on the other machines such that they all function together in a consistent, coherent and coordinated manner and give the appearance of being one global instance of the application (i.e., a “meta-application”).
- an application program for example, Microsoft Word or Adobe Photoshop CS2
- a single application code 50 (sometimes more informally referred to as the application or the application program) can be operated simultaneously on a number of machines M 1 , M 2 . . . Mn interconnected via a communications network or other communications link or path 53 .
- the communications network or path may be any electronic signaling, data, or digital communications network or path and may advantageously be a relatively slow speed communications path, such as a network connection over the Internet or any common networking configurations known or available as of the date or this applications, and extensions and improvements, thereto.
- one application code or program 50 may be a single application on the machines, such as Microsoft Word, as opposed to different applications on each machine, such as Microsoft Word on machine M 1 , and Microsoft PowerPoint on machine M 2 , and Netscape Navigator on machine M 3 and so forth. Therefore the terminology “one” application code or program and a “common” application code or program is used to try and capture this situation where all machines M 1 , . . . , Mn are operating or executing the same program or code and not different (and unrelated) programs. In other words copies or replicas of same or substantially the same application code is loaded onto each of the interoperating and connected machines or computers.
- each of the machines M 1 , M 2 . . . Mn operates with the same application code 50 on each machine M 1 , M 2 . . . Mn and thus all of the machines M 1 , M 2 , . . . , Mn have the same or substantially the same application code 50 usually with a modification that may be machine specific.
- each of the machines M 1 , M 2 , . . . , Mn operates with the same (or substantially the same or similar) modifier 51 (in some embodiments implemented as a distributed run time or DRT 71 ) on each machine M 1 , M 2 , . . . , Mn and thus all of the machines M 1 , M 2 . . . Mn have the same (or substantially the same or similar) modifier 51 for each modification required.
- Different modification for example may be required for memory management and replication, initialization, finalization, and/or synchronization (though not all of these modification types may be required for all embodiments).
- each application code 50 has been modified by the corresponding modifier 51 according to the same rules (or substantially the same rules since minor optimizing changes are permitted within each modifier 51 / 1 , 51 / 2 , . . . , 51 / n ).
- initialisation modifier 51 -I or DRT 71 -I or other code modifying means component of the overall modifier or distributed run time means is responsible for modifying the application code 50 so that it may execute initialisation routines or other initialization operations, such as for example class and object initialization methods or routines in the JAVA language and virtual machine environment, in a coordinated, coherent, and consistent manner across the plurality of individual machines M 1 , M 2 . . . Mn
- a single application code 50 (sometimes more informally referred to as the application or the application program) can be operated simultaneously on a number of machines M 1 , M 2 . . . Mn interconnected via a communications network or other communications link or path 53 .
- one application code or program 50 would be a single common application program on the machines, such as Microsoft Word, as opposed to different applications on each machine, such as Microsoft Word on machine M 1 , and Microsoft PowerPoint on machine M 2 , and Netscape Navigator on machine M 3 and so forth. Therefore the terminology “one”, “single”, and “common” application code or program is used to try and capture this situation where all machines M 1 , .
- each of the machines M 1 , M 2 . . . Mn operates with the same application code 50 on each machine M 1 , M 2 . . . Mn and thus all of the machines M 1 , M 2 , . . . , Mn have the same or substantially the same application code 50 usually with a modification that may be machine specific.
- each of the machines M 1 , M 2 , . . . , Mn operates with the same (or substantially the same or similar) modifier 51 on each machine M 1 , M 2 . . . , Mn and thus all of the machines M 1 , M 2 . . . Mn have the same (or substantially the same or similar) modifier 51 with the modifier of machine M 1 being designated 51 / 1 and the modifier of machine M 2 being designated 51 / 2 , etc.
- the application code 50 on each machine M 1 , M 2 . . . Mn is modified by the corresponding modifier 51 according to the same rules (or substantially the same rules since minor optimizing changes are permitted within each modifier 51 / 1 , 51 / 2 , . . . , 51 / n ).
- one of the features of the invention is to make it appear that one application program instance of application code 50 is executing simultaneously across all of the plurality of machines M 1 , M 2 , . . . , Mn.
- the instant invention achieves this by running the same application program code (for example, Microsoft Word or Adobe Photoshop CS2) on each machine, but modifying the executable code of that application program on each machine such that each executing occurrence (or ‘local instance’) on each one of the machines M 1 . . .
- Mn coordinates its local operations with the operations of the respective occurrences on each one of the other machines such that each occurrence on each one of the plurality of machines function together in a consistent, coherent and coordinated manner so as to give the appearance of being one global instance (or occurrence) of the application program and program code (i.e., a “meta-application”).
- each of the machines M 1 , M 2 , . . . , Mn has, say, an internal memory capability of 10 MB
- the total memory available to each application code 50 is not necessarily, as one might expect the number of machines (n) times 10 MB, or alternatively the additive combination of the internal memory capability of all n machines, but rather or still may only be 10 MB.
- the size of the smallest memory of any of the machines may be used as the maximum memory capacity of the machines when such memory (or a portion thereof) is to be treated as a ‘common’ memory (i.e. similar equivalent memory on each of the machines M 1 . . . Mn) or otherwise used to execute the common application code.
- each machine M 1 , M 2 . . . Mn has an private (i.e. ‘non-common’) internal memory capability.
- the private internal memory capability of the machines M 1 , M 2 , . . . , Mn are normally approximately equal but need not be. It may also be advantageous to select the amounts of internal memory in each machine to achieve a desired performance level in each machine and across a constellation or network of connected or coupled plurality of machines, computers, or information appliances M 1 , M 2 , . . . , Mn. Having described these internal and common memory considerations, it will be apparent in light of the description provided herein that the amount of memory that can be common between machines is not a limitation of the invention.
- FIG. 6 It is known from the prior art to operate a single computer or machine (produced by one of various manufacturers and having an operating system operating in one of various different languages) in a particular language of the application, by creating a virtual machine as schematically illustrated in FIG. 6 .
- the code and data and virtual machine configuration or arrangement of FIG. 6 takes the form of the application code 50 written in the Java language and executing within a Java Virtual Machine 61 .
- the intended language of the application is the language JAVA
- a JAVA virtual machine is used which is able to operate code in JAVA irrespective of the machine manufacturer and internal details of the machine.
- the JAVA Virtual Machine Specification 2 nd Edition by T. Lindholm & F. Yellin of Sun Microsystems Inc. of the USA, which is incorporated by reference herein.
- FIG. 6 This conventional art arrangement of FIG. 6 is modified in accordance with embodiments of the present invention by the provision of an additional facility which is conveniently termed “distributed run time” or “distributed run time system” DRT 71 and as seen in FIG. 7 .
- the application code 50 is loaded onto the Java Virtual Machine 72 in cooperation with the distributed runtime system 71 , through the loading procedure indicated by arrow 75 .
- distributed runtime and the distributed run time system are essentially synonymous, and by means of illustration but not limitation are generally understood to include library code and processes which support software written in a particular language running on a particular platform. Additionally, a distributed runtime system may also include library code and processes which support software written in a particular language running within a particular distributed computing environment.
- the runtime system typically deals with the details of the interface between the program and the operation system such as system calls, program start-up and termination, and memory management.
- a conventional Distributed Computing Environment that does not provide the capabilities of the inventive distributed run time or distributed run time system 71 required in the invention is available from the Open Software Foundation.
- This Distributed Computing Environment performs a form of computer-to-computer communication for software running on the machines, but among its many limitations, it is not able to implement the modification or communication operations of this invention.
- the inventive DRT 71 coordinates the particular communications between the plurality of machines M 1 , M 2 , . . . , Mn.
- inventive distributed runtime 71 comes into operation during the loading procedure indicated by arrow 75 of the JAVA application 50 on each JAVA virtual machine 72 of machines JVM# 1 , JVM# 2 , . . . JVM#n.
- the sequence of operations during loading will be described hereafter in relation to FIG. 9 . It will be appreciated in light of the description provided herein that although many examples and descriptions are provided relative to the JAVA language and JAVA virtual machines so that the reader may get the benefit of specific examples, the invention is not restricted to either the JAVA language or JAVA virtual machines, or to any other language, virtual machine, machine, or operating environment.
- FIG. 8 shows in modified form the arrangement of FIG. 5 utilising JAVA virtual machines, each as illustrated in FIG. 7 .
- the same application code 50 is loaded onto each machine M 1 , M 2 . . . Mn.
- the communications between each machine M 1 , M 2 , . . . , Mn, and indicated by arrows 83 are advantageously controlled by the individual DRT's 71 / 1 . . . 71 / n within each machine.
- this may be conceptionalised as the DRT's 71 / 1 , . . .
- the inventive DRT 71 provides communication that is transport, protocol, and link independent.
- the modifier 51 may be implemented as a component of or within the distributed run time 71 , and therefore the DRT 71 may implement the functions and operations of the modifier 51 .
- the function and operation of the modifier 51 may be implemented outside of the structure, software, firmware, or other means used to implement the DRT 71 .
- the modifier 51 and DRT 71 are implemented or written in a single piece of computer program code that provides the functions of the DRT and modifier. The modifier function and structure therefore maybe subsumed into the DRT and considered to be an optional component.
- the modifier function and structure is responsible for modifying the executable code of the application code program
- the distributed run time function and structure is responsible for implementing communications between and among the computers or machines.
- the communications functionality in one embodiment is implemented via an intermediary protocol layer within the computer program code of the DRT on each machine.
- the DRT may for example implement a communications stack in the JAVA language and use the Transmission Control Protocol/Internet Protocol (TCP/IP) to provide for communications or talking between the machines.
- TCP/IP Transmission Control Protocol/Internet Protocol
- a plurality of individual computers or machines M 1 , M 2 , . . . Mn are provided, each of which are interconnected via a communications network 53 or other communications link and each of which individual computers or machines provided with a modifier 51 (See in FIG. 5 ) and realised by or in for example the distributed run time (DRT) 71 (See FIG. 8 ) and loaded with a common application code 50 .
- the term common application program is to be understood to mean an application program or application program code written to operate on a single machine, and loaded and/or executed in whole or in part on each one of the plurality of computers or machines M 1 , M 2 . . .
- the modifier 51 or DRT 71 or other code modifying means is responsible for modifying the application code 50 so that it may execute memory manipulation operations, such as memory putstatic and putfield instructions in the JAVA language and virtual machine environment, in a coordinated, consistent, and coherent manner across and between the plurality of individual machines M 1 . . . Mn. It follows therefore that in such a computing environment it is necessary to ensure that each of memory location is manipulated in a consistent fashion (with respect to the others).
- some or all of the plurality of individual computers or machines may be contained within a single housing or chassis (such as so-called “blade servers” manufactured by Hewlett-Packard Development Company, Intel Corporation, IBM Corporation and others) or implemented on a single printed circuit board or even within a single chip or chip set.
- blade servers manufactured by Hewlett-Packard Development Company, Intel Corporation, IBM Corporation and others
- a machine (produced by any one of various manufacturers and having an operating system operating in any one of various different languages) can operate in the particular language of the application program code 50 , in this instance the JAVA language. That is, a JAVA virtual machine 72 is able to operate application code 50 in the JAVA language, and utilize the JAVA architecture irrespective of the machine manufacturer and the internal details of the machine.
- the generalized platform, and/or virtual machine and/or machine and/or runtime system is able to operate application code 50 in the language(s) (possibly including for example, but not limited to any one or more of source-code languages, intermediate-code languages, object-code languages, machine-code languages, and any other code languages) of that platform, and/or virtual machine and/or machine and/or runtime system environment, and utilize the platform, and/or virtual machine and/or machine and/or runtime system and/or language architecture irrespective of the machine manufacturer and the internal details of the machine.
- platform and/or runtime system may include virtual machine and non-virtual machine software and/or firmware architectures, as well as hardware and direct hardware coded applications and implementations.
- computers and/or computing machines and/or information appliances or processing systems are still applicable.
- computers and/or computing machines that do not utilize either classes and/or objects include for example, the x86 computer architecture manufactured by Intel Corporation and others, the SPARC computer architecture manufactured by Sun Microsystems, Inc and others, the PowerPC computer architecture manufactured by International Business Machines Corporation and others, and the personal computer products made by Apple Computer, Inc., and others.
- primitive data types such as integer data types, floating point data types, long data types, double data types, string data types, character data types and Boolean data types
- structured data types such as arrays and records
- code or data structures of procedural languages or other languages and environments such as functions, pointers, components, modules, structures, references and unions.
- Step 90 commences at Step 90 in FIG. 9 and involves the initial step 91 of preferably scrutinizing or analysing the code and detecting all memory locations addressable by the application code 50 , or optionally some subset of all memory locations addressable by the application code 50 ; such as for example named and unnamed memory locations, variables (such as local variables, global variables, and formal arguments to subroutines or functions), fields, registers, or any other address space or range of addresses which application code 50 may access.
- variables such as local variables, global variables, and formal arguments to subroutines or functions
- fields registers, or any other address space or range of addresses which application code 50 may access.
- Such memory locations in some instances need to be identified for subsequent processing at steps 92 and 93 .
- the DRT 71 during the loading procedure 75 creates a list of all the memory locations thus identified.
- the memory locations in the form of JAVA fields are listed by object and class, however, the memory locations, fields, or the like may be listed or organized in any manner so long as they comport with the architectural and programming requirements of the system on which the program is to be used and the principles of the invention described herein. This detection is optional and not required in all embodiments of the invention. It may be noted that the DRT is at least in part fulfilling the roll of the modifier 51 .
- Step 92 The next phase (designated Step 92 in FIG. 9 ) [Step 92 ] of the modification procedure is to search through the application code 50 in order to locate processing activity or activities that manipulate or change values or contents of any listed memory location (for example, but not limited to JAVA fields) corresponding to the list generated at step 91 when required. Preferably, all processing activities that manipulate or change any one or more values or contents of any one or more listed memory locations, are located.
- processing activity or operation typically “putstatic” or “putfield” in the JAVA language, or for example, a memory assignment operation, or a memory write operation, or a memory manipulation operation, or more generally operations that otherwise manipulate or change value(s) or content(s) of memory or other addressable areas
- an “updating propagation routine” is inserted by step 93 in the application code 50 corresponding to the detected memory manipulation operation, to communicate with all other machines in order to notify all other machines of the identity of the manipulated memory location, and the updated, manipulated or changed value(s) or content(s) of the manipulated memory location.
- the inserted “updating propagation routine” preferably takes the form of a method, function, procedure, or similar subroutine call or operation to a network communications library of DRT 71 .
- the “updating propagation routine” may take the optional form of a code-block (or other inline code form) inserted into the application code instruction stream at, after, before, or otherwise corresponding to the detected manipulation instruction or operation.
- the “updating propagation routine” may execute on the same thread or process or processor as the detected memory manipulation operation of step 92 . Thereafter, the loading procedure continues, by loading the modified application code 50 on the machine 72 in place of the unmodified application code 50 , as indicated by step 94 in FIG. 9 .
- FIG. 10 An alternative form of modification during loading is illustrated in the illustration of FIG. 10 .
- the start and listing steps 90 and 91 and the searching step 92 are the same as in FIG. 9 .
- the “updating propagation routine” is inserted into the application code 50 corresponding to the detected memory manipulation operation identified in step 92 , as is indicated in step 93 , in which the application code 50 , or network communications library code 71 of the DRT executing on the same thread or process or processor as the detected memory manipulation operation, carries out the updating, instead an “alert routine” is inserted corresponding to the detected memory manipulation operation, at step 103 .
- the “alert routine” instructs, notifies or otherwise requests a different and potentially simultaneously or concurrently executing thread or process or processor not used to perform the memory manipulation operation (that is, a different thread or process or processor than the thread or process or processor which manipulated the memory location), such as a different thread or process allocated to the DRT 71 , to carry out the notification, propagation, or communication of all other machines of the identity of the manipulated memory location, and the updated, manipulated or changed value(s) or content(s) of the manipulated memory location.
- FIG. 11 corresponds to the execution and operation of the modified application code 50 when modified in accordance with the procedures set forth in and described relative to FIG. 9 .
- FIG. 12 on the other hand (and the steps 112 , 113 , 125 , 127 , and 115 therein) set forth therein correspond to the execution and operation of the modified application code 50 when modified in accordance with FIG. 10 .
- This analysis or scrutiny of the application code 50 can take place either prior to loading the application program code 50 , or during the application program code 50 loading procedure, or even after the application program code 50 loading procedure. It may be likened to an instrumentation, program transformation, translation, or compilation procedure in that the application code may be instrumented with additional instructions, and/or otherwise modified by meaning-preserving program manipulations, and/or optionally translated from an input code language to a different code language (such as for example from source-code language or intermediate-code language to object-code language or machine-code language), and with the understanding that the term compilation normally or conventionally involves a change in code or language, for example, from source code to object code or from one language to another language.
- compilation (and its grammatical equivalents) is not so restricted and can also include or embrace modifications within the same code or language.
- the compilation and its equivalents are understood to encompass both ordinary compilation (such as for example by way of illustration but not limitation, from source-code to object-code), and compilation from source-code to source-code, as well as compilation from object-code to object-code, and any altered combinations therein. It is also inclusive of so-called “intermediary-code languages” which are a form of “pseudo object-code”.
- the analysis or scrutiny of the application code 50 may take place during the loading of the application program code such as by the operating system reading the application code from the hard disk or other storage device or source and copying it into memory and preparing to begin execution of the application program code.
- the analysis or scrutiny may take place during the class loading procedure of the java.lang.ClassLoader loadClass method (e.g., “java.lang.ClassLoader.loadClass( )”).
- the analysis or scrutiny of the application code 50 may take place even after the application program code loading procedure, such as after the operating system has loaded the application code into memory, or optionally even after execution of the relevant corresponding portion of the application program code has started, such as for example after the JAVA virtual machine has loaded the application code into the virtual machine via the “java.lang.ClassLoader.loadClass( )” method and optionally commenced execution.
- a multiple thread processing machine environment 110 on each one of the machines M 1 , . . . , Mn and consisting of threads 111 / 1 . . . 111 / 4 exists.
- the processing and execution of the second thread 111 / 2 results in that thread 111 / 2 manipulating a memory location at step 113 , by writing to a listed memory location.
- the application code 50 is modified at a point corresponding to the write to the memory location of step 113 , so that it propagates, notifies, or communicates the identity and changed value of the manipulated memory location of step 113 to the other machines M 2 , . . . , Mn via network 53 or other communication link or path, as indicated at step 114 .
- the processing of the application code 50 of that thread 111 / 2 is or may be altered and in some instances interrupted at step 114 by the executing of the inserted “updating propagation routine”, and the same thread 111 / 2 notifies, or propagates, or communicates to all other machines M 2 , . . .
- the thread 111 / 2 then resumes or continues the processing or the execution of the modified application code 50 at step 115 .
- a multiple thread processing machine environment 110 comprising or consisting of threads 111 / 1 , . . . , 111 / 3 , and a simultaneously or concurrently executing DRT processing environment 120 consisting of the thread 121 / 1 as illustrated, or optionally a plurality of threads, is executing on each one of the machines M 1 , . . . Mn.
- the processing and execution of the modified application code 50 on thread 111 / 2 results in a memory manipulation operation of step 113 , which in this instance is a write to a listed memory location.
- the application code 50 is modified at a point corresponding to the write to the memory location of step 113 , so that it requests or otherwise notifies the threads of the DRT processing environment 120 to notify, or propagate, or communicate to the other machines M 2 , . . . , Mn of the identity and changed value of the manipulated memory location of step 113 , as indicated at steps 125 and 128 and arrow 127 .
- the thread 111 / 2 processing and executing the modified application code 50 requests a different and potentially simultaneously or concurrently executing thread or process (such as thread 121 / 1 ) of the DRT processing environment 120 to notify the machines M 2 , . . .
- step 125 and arrow 127 Mn via network 53 or other communications link or path of the identity and changed value of the manipulated memory location of step 113 , as indicated in step 125 and arrow 127 .
- a different and potentially simultaneously or concurrently executing thread or process 121 / 1 of the DRT processing environment 120 notifies the machines M 2 , . . . , Mn via network 53 or other communications link or path of the identity and changed value of the manipulated memory location of step 113 , as requested of it by the modified application code 50 executing on thread 111 / 2 of step 125 and arrow 127 .
- step 125 of thread 111 / 2 of FIG. 12 can be carried out quickly, because step 114 of thread 111 / 2 must notify and communicate with machines M 2 . . . , Mn via the relatively slow network 53 (relatively slow for example when compared to the internal memory bus 4 of FIG. 1 or the global memory 13 of FIG. 2 ) of the identity and changed value of the manipulated memory location of step 113 , whereas step 125 of thread 111 / 2 does not communicate with machines M 2 , . . . , Mn via the relatively slow network 53 .
- step 125 of thread 111 / 2 requests or otherwise notifies a different and potentially simultaneously or concurrently executing thread 121 / 1 of the DRT processing environment 120 to perform the notification and communication with machines M 2 , . . . , Mn via the relatively slow network 53 of the identify and changed value of the manipulated memory location of step 113 , as indicated by arrow 127 .
- thread 111 / 2 carrying out step 125 is only interrupted momentarily before the thread 111 / 2 resumes or continues processing or execution of modified application code in step 115 .
- the other thread 121 / 1 of the DRT processing environment 120 then communicates the identity and changed value of the manipulated memory location of step 113 to machines M 2 , . . . , Mn via the relatively slow network 53 or other relatively slow communications link or path.
- This second arrangement of FIG. 12 makes better utilisation of the processing power of the various threads 111 / 1 . . . 111 / 3 and 121 / 1 (which are not, in general, subject to equal demands). Irrespective of which arrangement is used, the identity and change value of the manipulated memory location(s) of step 113 is (are) propagated to all the other machines M 2 . . . Mn on the network 53 or other communications link or path.
- step 114 of FIG. 11 or the DRT 71 / 1 (corresponding to the DRT processing environment 120 of FIG. 12 ) and its thread 121 / 1 of FIG. 12 (represented by step 128 in FIG. 13 ), send, via the network 53 or other communications link or path, the identity and changed value of the manipulated memory location of step 113 of FIGS. 11 and 12 , to each of the other machines M 2 , . . . , Mn.
- each of the other machines M 2 , . . . , Mn carries out the action of receiving from the network 53 the identity and changed value of, for example, the manipulated memory location of step 113 from machine M 1 , indicated by step 135 , and writes the value received at step 135 to the local memory location corresponding to the identified memory location received at step 135 , indicated by step 136 .
- Such local memory read and write processing operation as performed according to the invention can typically be satisfied within 10 2 -10 3 cycles of the central processing unit.
- a relatively slow network communication link or path 53 may advantageously be used because it provides the desired performance and low cost
- the invention is not limited to a relatively low speed network connection and may be used with any communication link or path.
- the invention is transport, network, and communications path independent, and does not depend on how the communication between machines or DRTs takes place. In one embodiment, even electronic mail (email) exchanges between machines or DRTs may suffice for the communications.
- the identity and changed value pair of a manipulated memory location sent over network 53 each pair typically sent as the sole contents of a single packet, frame or cell for example, can be grouped into batches of multiple pairs of identities and changed values corresponding to multiple manipulated memory locations, and sent together over network 53 or other communications link or path in a single packet, frame, or cell.
- This further modification further reduces the demands on the communication speed of the network 53 or other communications link or path interconnecting the various machines, as each packet, cell or frame may contain multiple identity and changed value pairs, and therefore fewer packets, frames, or cells require to be sent.
- the embodiment illustrated of FIG. 11 of step 114 sends an updating and propagation message to all machines corresponding to every performed memory manipulation operation.
- the DRT thread 121 / 1 of FIG. 12 does not need to perform an updating and propagation operation corresponding to every local memory manipulation operation, but instead may send fewer updating and propagation messages than memory manipulation operations, each message containing the last or latest changed value or content of the manipulated memory location, or optionally may only send a single updating and propagation message corresponding to the last memory manipulation operation.
- This further improvement reduces the demands on the network 53 or other communications link or path, as fewer packets, frames, or cells require to be sent.
- each DRT 71 when initially recording or creating the list of all, or some subset of all, memory locations (or fields), for each such recorded memory location on each machine M 1 , . . . , Mn there is a name or identity which is common or similar on each of the machines M 1 , . . . , Mn.
- the local memory location corresponding to a given name or identity (listed for example, during step 91 of FIG. 9 ) will or may vary over time since each machine may and generally will store changed memory values or contents at different memory locations according to its own internal processes.
- each of the DRTs will have, in general, different local memory locations corresponding to a single memory name or identity, but each global “memory name” or identity will have the same “memory value” stored in the different local memory locations.
- a particular machine say machine M 2 , loads the asset (such as class or object) inclusive of memory manipulation operation(s), modifies it, and then loads each of the other machines M 1 , M 3 , . . . , Mn (either sequentially or simultaneously or according to any other order, routine or procedure) with the modified object (or class or other asset or resource) inclusive of the new modified memory manipulation operation.
- asset such as class or object
- Mn either sequentially or simultaneously or according to any other order, routine or procedure
- the memory manipulation operation(s) that is (are) loaded is binary executable object code.
- the memory manipulation operation(s) that is (are) loaded is executable intermediary code.
- each of the slave (or secondary) machines M 1 , M 3 , . . . , Mn loads the modified object (or class), and inclusive of the new modified memory manipulation operation(s), that was sent to it over the computer communications network or other communications link or path by the master (or primary) machine, such as machine M 2 , or some other machine such as a machine X of FIG. 15 .
- the computer communications network can be replaced by a shared storage device such as a shared file system, or a shared document/file repository such as a shared database.
- each machine or computer need not and frequently will not be the same or identical. What is required is that they are modified in a similar enough way that in accordance with the inventive principles described herein, each of the plurality of machines behaves consistently and coherently relative to the other machines to accomplish the operations and objectives described herein.
- modifications may for example depend on the particular hardware, architecture, operating system, application program code, or the like or different factors. It will also be appreciated that embodiments of the invention may be implemented within an operating system, outside of or without the benefit of any operating system, inside the virtual machine, in an EPROM, in software, in firmware, or in any combination of these.
- each machine M 1 , . . . , Mn receives the unmodified asset (such as class or object) inclusive of one or more memory manipulation operation(s), but modifies the operations and then loads the asset (such as class or object) consisting of the now modified operations.
- asset such as class or object
- one machine such as the master or primary machine may customize or perform a different modification to the memory manipulation operation(s) sent to each machine, this embodiment more readily enables the modification carried out by each machine to be slightly different and to be enhanced, customized, and/or optimized based upon its particular machine architecture, hardware, processor, memory, configuration, operating system, or other factors, yet still similar, coherent and consistent with other machines with all other similar modifications and characteristics that may not need to be similar or identical.
- the supply or the communication of the asset code (such as class code or object code) to the machines M 1 , . . . , Mn, and optionally inclusive of a machine X of FIG. 15 can be branched, distributed or communicated among and between the different machines in any combination or permutation; such as by providing direct machine to machine communication (for example, M 2 supplies each of M 1 , M 3 , M 4 , etc. directly), or by providing or using cascaded or sequential communication (for example, M 2 supplies M 1 which then supplies M 3 which then supplies M 4 , and so on), or a combination of the direct and cascaded and/or sequential.
- direct machine to machine communication for example, M 2 supplies each of M 1 , M 3 , M 4 , etc. directly
- cascaded or sequential communication for example, M 2 supplies M 1 which then supplies M 3 which then supplies M 4 , and so on
- Annexure A 5 is a typical code fragment from a memory manipulation operation prior to modification (e.g., an exemplary unmodified routine with a memory manipulation operation), and Annexure A 6 is the same routine with a memory manipulation operation after modification (e.g., an exemplary modified routine with a memory manipulation operation).
- code fragments are exemplary only and identify one software code means for performing the modification in an exemplary language. It will be appreciated that other software/firmware or computer program code may be used to accomplish the same or analogous function or operation without departing from the invention.
- Annexures A 5 and A 6 are exemplary code listings that set forth the conventional or unmodified computer program software code (such as may be used in a single machine or computer environment) of a routine with a memory manipulation operation of application program code 50 and a post-modification excerpt of the same routine such as may be used in embodiments of the present invention having multiple machines.
- the modified code that is added to the routine is highlighted in bold text.
- Annexure A includes exemplary program listings in the JAVA language to further illustrate features, aspects, methods, and procedures of described in the detailed description A1.
- This first excerpt is part of an illustration of the modification code of the modifier 51 in accordance with steps 92 and 103 of FIG. 10. It searches through the code array of the application program code 50, and when it detects a memory manipulation instruction (i.e. a putstatic instruction (opcode 178) in the JAVA language and virtual machine environment) it modifies the application program code by the insertion of an “alert” routine.
- a memory manipulation instruction i.e. a putstatic instruction (opcode 178) in the JAVA language and virtual machine environment
- This second excerpt is part of the DRT.alert( ) method and implements the step of 125 and arrow of 127 of FIG. 12.
- This DRT.alert( ) method requests one or more threads of the DRT processing environment of FIG. 12 to update and propagate the value and identity of the changed memory location corresponding to the operation of Annexure A1.
- This third excerpt is part of the DRT 71, and corresponds to step 128 of FIG. 12.
- This code fragment shows the DRT in a separate thread, such as thread 121/1 of FIG. 12, after being notified or requested by step 125 and array 127, and sending the changed value and changed value location/identity across the network 53 to the other of the plurality of machines M1 . . . Mn.
- the fourth excerpt is part of the DRT 71, and corresponds to steps 135 and 136 of FIG. 13.
- the fifth excerpt is an disassembled compiled form of the example.java application of Annexure A7, which performs a memory manipulation operation (putstatic and putfield).
- the sixth excerpt is the disassembled compiled form of the same example application in Annexure A5 after modification has been performed by FieldLoader.java of Annexure A11, in accordance with FIG. 9 of this invention. The modifications are highlighted in bold.
- the seventh excerpt is the source-code of the example.java application used in excerpt A5 and A6.
- This example application has two memory locations (staticValue and instanceValue) and performs two memory manipulation operations.
- the eighth excerpt is the source-code of FieldAlert.java which corresponds to step 125 and arrow 127 of FIG. 12, and which requests a thread 121/1 executing FieldSend.Java of the “distributed run-time” 71 to propagate a changed value and identity pair to the other machines M1 . . . Mn.
- the ninth excerpt is the source-code of FieldSend.java which corresponds to step 128 of FIG.
- FieldLoader.java modifies an application program code, such as the example.java application code of Annexure A7, as it is being loaded into a JAVA virtual machine in accordance with steps 90, 91, 92, 103, and 94 of FIG. 10.
- FieldLoader.java makes use of the convenience classes of Annexures A12 through to A36 during the modification of a compiled JAVA A12. Attribute_info.java Convience class for representing attribute_info structures within ClassFiles. A13. ClassFile.java Convience class for representing ClassFile structures. A14. Code_attribute.java Convience class for representing Code_attribute structures within ClassFiles. A15.
- CONSTANT_Class_info.java Convience class for representing CONSTANT_Class_info structures within ClassFiles.
- CONSTANT_Double_info.java Convience class for representing CONSTANT_Double_info structures within ClassFiles.
- CONSTANT_Fieldref_info.java Convience class for representing CONSTANT_Fieldref_info structures within ClassFiles.
- CONSTANT_Float_info.java Convience class for representing CONSTANT_Float_info structures within ClassFiles.
- CONSTANT_Integer_info.java Convience class for representing CONSTANT_Integer_info structures within ClassFiles.
- CONSTANT_InterfaceMethodref_info.java Convience class for representing CONSTANT_InterfaceMethodref_info structures within ClassFiles. A21. CONSTANT_Long_info.java Convience class for representing CONSTANT_Long_info structures within ClassFiles. A22. CONSTANT_Methodref_info.java Convience class for representing CONSTANT_Methodref_info structures within ClassFiles. A23. CONSTANT_NameAndType_info.java Convience class for representing CONSTANT_NameAndType_info structures within ClassFiles. A24. CONSTANT_String_info.java Convience class for representing CONSTANT_String_info structures within ClassFiles. A25.
- CONSTANT_Utf8_info.java Convience class for representing CONSTANT_Utf8_info structures within ClassFiles.
- ConstantValue_attribute.java Convience class for representing ConstantValue_attribute structures within ClassFiles.
- cp_info.java Convience class for representing cp_info structures within ClassFiles.
- Deprecated_attribute.java Convience class for representing Deprecated_attribute structures within ClassFiles.
- Exceptions_attribute.java Convience class for representing Exceptions_attribute structures within ClassFiles.
- field_info.java Convience class for representing field_info structures within ClassFiles.
- InnerClasses_attribute.java Convience class for representing InnerClasses_attribute structures within ClassFiles.
- A32. LineNumberTable_attribute.java Convience class for representing LineNumberTable_attribute structures within ClassFiles.
- A33. LocalVariableTable_attribute.java Convience class for representing LocalVariableTable_attribute structures within ClassFiles.
- A34. method_info.java Convience class for representing method_info structures within ClassFiles.
- SourceFile_attribute.java Convience class for representing SourceFile_attribute structures within ClassFiles.
- A36. Synthetic_attribute.java Convience class for representing Synthetic_attribute structures within ClassFiles.
- Field field modifiedClass.getDeclaredField(“myField1”); // Stores // the field // from the // modified // class. // In this example, the field is a byte field. while (DRT.isRunning( )) ⁇ synchronized (ALERT_LOCK) ⁇ ALERT_LOCK.wait( ); // The DRT thread is waiting for the alert // method to be called.
- byte[ ] b new byte[ ] ⁇ nameTag, field.getByte(null) ⁇ ; // Stores // the // nameTag // and the // value // of the // field from // the modified // class in a // buffer.
- DatagramPacket dp new DatagramPacket(b, 0, b.length); ms.send(dp); // Send the buffer out across the network. ⁇ ⁇ // END
- the compiled code in the annexure and portion repeated in the table is taken from the source-code of the file “example java” which is included in the Annexure A 7 (Table VIII).
- the procedure name “Method void setvalues(int, int)” of Step 001 is the name of the displayed disassembled output of the setValues method of the compiled application code of “example.java”.
- the name “Method void setValues(int, int)” is arbitrary and selected for this example to indicate a typical JAVA method inclusive of a memory manipulation operation. Overall the method is responsible for writing two values to two different memory locations through the use of an memory manipulation assignment statement (being “putstatic” and “putfield” in this example) and the steps to accomplish this are described in turn.
- the Java Virtual Machine instruction “iload_ 1 ” causes the Java Virtual Machine to load the integer value in the local variable array at index 1 of the current method frame and store this item on the top of the stack of the current method frame and results in the integer value passed to this method as the first argument and stored in the local variable array at index 1 being pushed onto the stack.
- the Java Virtual Machine instruction “putstatic # 3 ⁇ Field int staticValue>” causes the Java Virtual Machine to pop the topmost value off the stack of the current method frame and store the value in the static field indicated by the CONSTANT_Fieldref_info constant-pool item stored in the 3 rd index of the classfile structure of the application program containing this example setvalues( ) method and results in the topmost integer value of the stack of the current method frame being stored in the integer field named “staticValue”.
- the Java Virtual Machine instruction “aload_ 0 ” causes the Java Virtual Machine to load the item in the local variable array at index 0 of the current method frame and store this item on the top of the stack of the current method frame and results in the ‘this’ object reference stored in the local variable array at index 0 being pushed onto the stack.
- the Java Virtual Machine instruction “iload_ 2 ” causes the Java Virtual Machine to load the integer value in the local variable array at index 2 of the current method frame and store this item on the top of the stack of the current method frame and results in the integer value passed to this method as the first argument and stored in the local variable array at index 2 being pushed onto the stack.
- the Java Virtual Machine instruction “putfield # 2 ⁇ Field int instanceValue>” causes the Java Virtual Machine to pop the two topmost values off the stack of the current method frame and store the topmost value in the object instance field of the second popped value, indicated by the CONSTANT_Feldref_info constant-pool item stored in the 2 nd index of the classfile structure of the application program containing this example setValues method and results in the integer value on the top of the stack of the current method frame being stored in the instance field named “instanceValue” of the object reference below the integer value on the stack.
- Step 007 causes the JAVA virtual machine to cease executing this setValues( ) method by returning control to the previous method frame and results in termination of execution of this setValues( ) method.
- the JAVA virtual machine manipulates (i.e. writes to) the staticValue and instanceValue memory locations, and in executing the setValues( ) method containing the memory manipulation operation(s) is able to ensure that memory is and remains consistent between multiple threads of a single application instance, and therefore ensure that unwanted behaviour, such as for example inconsistent or incoherent memory between multiple threads of a single application instance (such inconsistent or incoherent memory being for example incorrect or different values or contents with respect to a single memory location) does not occur.
- unwanted behaviour such as for example inconsistent or incoherent memory between multiple threads of a single application instance (such inconsistent or incoherent memory being for example incorrect or different values or contents with respect to a single memory location) does not occur.
- the JAVA virtual machine instruction “iconst_ 0 ” is inserted after the “Idc # 4 ” instruction so that the JAVA virtual machine loads an integer value of “0” onto the stack of the current method frame and results in the integer value of “0” loaded onto the top of the stack of the current method frame.
- This change is significant because it modifies the setValues( ) method to load an integer value, which in this example is “0”, which represents the identity of the memory location (field) manipulated by the preceding “putstatic # 3 ” operation. It is to be noted that the choice or particular form of the memory identifier used for the implementation of this invention is for illustration purposes only.
- the integer value of “0” is the identifier used of the manipulated memory location, and corresponds to the “staticvalue” field as the first field of the “example.java” application, as shown in Annexure A 7 . Therefore, corresponding to the “putstatic # 3 ” instruction, the “iconst_ 0 ” instruction loads the integer value “0” corresponding to the index of the manipulated field of the “putstatic # 3 ” instruction, and which in this case is the first field of “example.java” hence the “0” integer index value, onto the stack.
- the JAVA virtual machine instruction “invokestatic # 5 ⁇ Method boolean alert(java.lang.Object, int)>” is inserted after the “iconst_ 0 ” instruction so that the JAVA virtual machine pops the two topmost items off the stack of the current method frame (which in accordance with the preceding “Idc # 4 ” instruction is a reference to the String object with the value “example” corresponding to the name of the class to which manipulated field belongs, and the integer “0” corresponding to the index of the manipulated field in the example.java application) and invokes the “alert” method, passing the two topmost items popped off the stack to the new method frame as its first two arguments.
- This change is significant because it modifies the setvalues( ) method to execute the “alert” method and associated operations, corresponding to the preceding memory manipulation operation (that is, the “putstatic # 3 ” instruction) of the setvalues( ) method.
- an “aload_ 0 ” instruction is inserted after the “putfield # 2 ” instruction in order to be the first instruction following the execution of the “putfield # 2 ” instruction.
- This change is significant because it modifies the setvalues( ) method to load a reference to the object corresponding to the manipulated field onto the stack.
- the JAVA virtual machine instruction “iconst_ 1 ” is inserted after the “aload_ 0 ” instruction so that the JAVA virtual machine loads an integer value of “1” onto the stack of the current method frame and results in the integer value of “1” loaded onto the top of the stack of the current method frame.
- This change is significant because it modifies the setValues( ) method to load an integer value, which in this example is “1”, which represents the identity of the memory location (field) manipulated by the preceding “putfield # 2 ” operation. It is to be noted that the choice or particular form of the identifier used for the implementation of this invention is for illustration purposes only.
- the integer value of “1” corresponds to the “instanceValue” field as the second field of the “example.java” application, as shown in Annexure A 7 . Therefore, corresponding to the “putfield # 2 ” instruction, the “iconst_ 1 ” instruction loads the integer value “1” corresponding to the index of the manipulated field of the “putfield # 2 ” instruction, and which in this case is the second field of “example.java” hence the “1” integer index value, onto the stack.
- the JAVA virtual machine instruction “invokestatic # 5 ⁇ Method boolean alert(java.lang.Object, int)>” is inserted after the “iconst_ 1 ” instruction so that the JAVA virtual machine pops the two topmost item off the stack of the current method frame (which in accordance with the preceding “aload_ 0 ” instruction is a reference to the object corresponding to the object to which the manipulated instance field belongs, and the integer “1” corresponding to the index of the manipulated field in the example.java application) and invokes the “alert” method, passing the two topmost items popped off the stack to the new method frame as its first two arguments.
- This change is significant because it modifies the setValues( ) method to execute the “alert” method and associated operations, corresponding to the preceding memory manipulation operation (that is, the “putfield # 2 ” instruction) of the setValues( ) method.
- the method void alert(java.lang.Object, int), part of the FieldAlert code of Annexure A 8 and part of the distributed runtime system (DRT) 71 , requests or otherwise notifies a DRT thread 121 / 1 executing the FieldSend.java code of Annexure A 9 to update and propagate the changed identity and value of the manipulated memory location to the plurality of machines M . . . Mn.
- the modified code permits, in a distributed computing environment having a plurality of computers or computing machines, the coordinated operation of memory manipulation operations so that the problems associated with the operation of the unmodified code or procedure on a plurality of machines M 1 . . . Mn (such as for example inconsistent and incoherent memory state and manipulation and updating operation) does not occur when applying the modified code or procedure.
- FIG. 14 there is illustrated a schematic representation of a single prior art computer operated as a JAVA virtual machine.
- a machine (produced by any one of various manufacturers and having an operating system operating in any one of various different languages) can operate in the particular language of the application program code 50 , in this instance the JAVA language. That is, a JAVA virtual machine 72 is able to operate application code 50 in the JAVA language, and utilize the JAVA architecture irrespective of the machine manufacturer and the internal details of the machine.
- the generalized platform, and/or virtual machine and/or machine and/or runtime system is able to operate application code 50 in the language(s) (possibly including for example, but not limited to any one or more of source-code languages, intermediate-code languages, object-code languages, machine-code languages, and any other code languages) of that platform, and/or virtual machine and/or machine and/or runtime system environment, and utilize the platform, and/or virtual machine and/or machine and/or runtime system and/or language architecture irrespective of the machine manufacturer and the internal details of the machine.
- the platform and/or runtime system may include virtual machine and non-virtual machine software and/or firmware architectures, as well as hardware and direct hardware coded applications and implementations.
- the class initialization routine ⁇ clinit> happens only once when a given class file 50 A is loaded.
- the object initialization routine ⁇ init> typically happens frequently, for example the object initialization routine may usually occur every time a new object (such as an object 50 X, 50 Y or 50 Z) is created.
- classes generally being a broader category than objects
- objects which are the narrower category and wherein the objects belong to or are identified with a particular class
- computers and/or computing machines and/or information appliances or processing systems are still applicable.
- computers and/or computing machines that do not utilize either classes and/or objects include for example, the x86 computer architecture manufactured by Intel Corporation and others, the SPARC computer architecture manufactured by Sun Microsystems, Inc and others, the PowerPC computer architecture manufactured by International Business Machines Corporation and others, and the personal computer products made by Apple Computer, Inc., and others.
- class and object may be generalized for example to include primitive data types (such as integer data types, floating point data types, long data types, double data types, string data types, character data types and boolean data types), structured data types (such as arrays and records) derived types, or other code or data structures of procedural languages or other languages and environments such as functions, pointers, components, modules, structures, references and unions.
- primitive data types such as integer data types, floating point data types, long data types, double data types, string data types, character data types and boolean data types
- structured data types such as arrays and records
- code or data structures of procedural languages or other languages and environments such as functions, pointers, components, modules, structures, references and unions.
- the class initialization routine ⁇ clinit> happens only once when a given class file 50 A is loaded.
- the object initialization routine ⁇ init> typically happens frequently, for example the object initialization routine will occur every time a new object (such as an object 50 X, 50 Y and 50 Z) is created.
- classes being the broader category
- objects which are the narrower category and wherein the objects belong to or are identified with a particular class
- a plurality of individual computers or machines M 1 , M 2 , . . . , Mn are provided, each of which are interconnected via a communications network 53 or other communications link and each of which individual computers or machines provided with a modifier 51 (See in FIG. 5 ) and realised by or in for example the distributed runtime system(DRT) 71 (See FIG. 8 ) and loaded with a common application code 50 .
- the term common application program is to be understood to mean an application program or application program code written to operate on a single machine, and loaded and/or executed in whole or in part on each one of the plurality of computers or machines M 1 , M 2 . . .
- some or all of the plurality of individual computers or machines may be contained within a single housing or chassis (such as so-called “blade servers” manufactured by Hewlett-Packard Development Company, Intel Corporation, IBM Corporation and others) or implemented on a single printed circuit board or even within a single chip or chip set.
- blade servers manufactured by Hewlett-Packard Development Company, Intel Corporation, IBM Corporation and others
- the modifier 51 or DRT 71 or other code modifying means is responsible for modifying the application code 50 so that it may execute initialisation routines or other initialization operations, such as for example class and object initialization methods or routines in the JAVA language and virtual machine environment, in a coordinated, coherent, and consistent manner across and between the plurality of individual machines M 1 , M 2 . . . Mn. It follows therefore that in such a computing environment it is necessary to ensure that the local objects and classes on each of the individual machines M 1 , M 2 . . . Mn is initialized in a consistent fashion (with respect to the others).
- the modifier 51 may be implemented as a component of or within the distributed run time 71 , and therefore the DRT 71 may implement the functions and operations of the modifier 51 .
- the function and operation of the modifier 51 may be implemented outside of the structure, software, firmware, or other means used to implement the DRT 71 .
- the modifier 51 and DRT 71 are implemented or written in a single piece of computer program code that provides the functions of the DRT and modifier. The modifier function and structure therefore maybe subsumed into the DRT and considered to be an optional component.
- the modifier function and structure is responsible for modifying the executable code of the application code program
- the distributed run time function and structure is responsible for implementing communications between and among the computers or machines.
- the communications functionality in one embodiment is implemented via an intermediary protocol layer within the computer program code of the DRT on each machine.
- the DRT may for example implement a communications stack in the JAVA language and use the Transmission Control Protocol/Internet Protocol (TCP/IP) to provide for communications or talking between the machines.
- TCP/IP Transmission Control Protocol/Internet Protocol
- the application code 50 is analysed or scrutinized by searching through the executable application code 50 in order to detect program steps (such as particular instructions or instruction types) in the application code 50 which define or constitute or otherwise represent an initialization operation or routine (or other similar memory, resource, data, or code initialization routine or operation).
- such program steps may for example comprise or consist of some part of, or all of, a “ ⁇ init>” or “ ⁇ clinit>” method of an object or class, and optionally any other code, routine, or method related to a “ ⁇ init>” or “ ⁇ clinit>” method, for example by means of a method invocation from the body of the “ ⁇ init>” of “ ⁇ clinit>” method to a different method.
- This analysis or scrutiny of the application code 50 may take place either prior to loading the application program code 50 , or during the application program code 50 loading procedure, or even after the application program code 50 loading procedure. It may be likened to an instrumentation, program transformation, translation, or compilation procedure in that the application code may be instrumented with additional instructions, and/or otherwise modified by meaning-preserving program manipulations, and/or optionally translated from an input code language to a different code language (such as for example from source-code language or intermediate-code language to object-code language or machine-code language), and with the understanding that the term compilation normally or conventionally involves a change in code or language, for example, from source code to object code or from one language to another language.
- compilation (and its grammatical equivalents) is not so restricted and can also include or embrace modifications within the same code or language.
- the compilation and its equivalents are understood to encompass both ordinary compilation (such as for example by way of illustration but not limitation, from source-code to object-code), and compilation from source-code to source-code, as well as compilation from object-code to object-code, and any altered combinations therein. It is also inclusive of so-called “intermediary-code languages” which are a form of “pseudo object-code”.
- the analysis or scrutiny of the application code 50 may take place during the loading of the application program code such as by the operating system reading the application code from the hard disk or other storage device or source and copying it into memory and preparing to begin execution of the application program code.
- the analysis or scrutiny may take place during the class loading procedure of the java.lang.ClassLoader loadClass method (e.g., “java.lang.ClassLoader.loadClass( )”).
- the analysis or scrutiny of the application code 50 may take place even after the application program code loading procedure, such as after the operating system has loaded the application code into memory, or optionally even after execution of the application program code has started or commenced, such as for example after the JAVA virtual machine has loaded the application code into the virtual machine via the “java.lang.ClassLoader.loadClass( )” method and optionally commenced execution.
- initialization routines for example ⁇ clinit> class initialisation methods and ⁇ init> object initialization methods
- This modified routine is adapted and written to initialize the class 50 A on one of the machines, for example JVM# 1 , and tell, notify, or otherwise communicate to all the other machines M 2 , . . . , Mn that such a class 50 A exists and optionally its initialized state.
- this modification and loading can be carried out.
- the DRT 71 / 1 on the loading machine in this example Java Virtual Machine M 1 (JVM# 1 )
- JVM# 1 Java Virtual Machine M 1
- the initialization operation is continued (or resumed, or started, or commenced and the class 50 A is initialized and optionally the consequential changes (such as for example initialized code and data-structures in memory) brought about during that initialization procedure are transferred to each similar equivalent local class on each one of the other machines as indicated by arrows 83 in FIG. 8 .
- the DRT 71 / 1 of the loading machine in this example Java Machine M 1 (JVM# 1 )
- JVM# 1 Java Machine M 1
- the DRT 71 / 1 on machine M 1 may execute the object initialization routine corresponding to object 50 Y, and optionally each of the other machines M 2 . . .
- Mn may load a similar equivalent local object (which may conveniently be termed a peer object) and associated consequential changes (such as for example initialized data, initialized code, and/or initialized system or resources structures) brought about by the execution of the initialization operation on machine M 1 .
- a similar equivalent local object which may conveniently be termed a peer object
- consequential changes such as for example initialized data, initialized code, and/or initialized system or resources structures
- the DRT 71 / 1 of machine M 1 determines that a similar equivalent object to the object 50 Y in question has already been initialization on another machine of the plurality of machines (say for example machine M 2 )
- the execution by machine M 1 of the initialization function, procedure, or routine corresponding to object 50 Y is not started or commenced, or is otherwise aborted, terminated, turned off or otherwise disabled, and object 50 Y on machine M 1 is loaded, and preferably but optionally the consequential changes (such as for example initialized data, initialized code, and/or other initialized system or resource structures) brought about by the execution of the initialization routine by machine M 2 , is loaded on machine M 1 corresponding to object 50 Y.
- the consequential changes such as for example initialized data, initialized code, and/or other initialized system or resource structures
- execution of the initialization routine is allocated to one machine, such as the first machine M 1 to load (and optionally seek to initialize) the object or class.
- the execution of the initialization routine corresponding to the determination that a particular class or object (and any similar equivalent local classes or objects on each of the machines M 1 . . . Mn) is not already initialized, is to execute only once with respect to all machines M 1 . . . Mn, and preferably by only one machine, on behalf of all machines M 1 . . . Mn.
- all other machines may then each load a similar equivalent local object (or class) and optionally load the consequential changes (such as for example initialized data, initialized code, and/or other initialized system or resource structures) brought about by the execution of the initialization operation by machine M 1 .
- a modification to the general arrangement of FIG. 8 is provided in that machines M 1 , M 2 . . . Mn are as before and run the same application code 50 (or codes) on all machines M 1 , M 2 . . . Mn simultaneously or concurrently.
- a server machine X which is conveniently able to supply housekeeping functions, for example, and especially the initialisation of structures, assets, and resources.
- Such a server machine X can be a low value commodity computer such as a PC since its computational load is low.
- two server machines X and X+1 can be provided for redundancy purposes to increase the overall reliability of the system. Where two such server machines X and X+1 are provided, they are preferably but optionally operated as redundant machines in a failover arrangement.
- a server machine X it is not necessary to provide a server machine X as its computational load can be distributed over machines M 1 , M 2 . . . Mn.
- a database operated by one machine in a master/slave type operation can be used for the housekeeping function(s).
- FIG. 16 shows a preferred general procedure to be followed. After a loading step 161 has been commenced, the instructions to be executed are considered in sequence and all initialization routines are detected as indicated in step 162 .
- the object initialisation methods e.g. “ ⁇ init>”
- class initialisation methods e.g. “ ⁇ clinit>”.
- Other languages use different terms.
- an initialization routine is detected in step 162 , it is modified in step 163 in order to perform consistent, coordinated, and coherent initialization operation (such as for example initialization of data structures and code structures) across and between the plurality of machines M 1 , M 2 . . . Mn, typically by inserting further instructions into the initialisation routine to, for example, determine if a similar equivalent object or class (or other asset) on machines M 1 . . .
- Mn corresponding to the object or class (or asset) to which this initialisation routine corresponds has already been initialised, and if so, aborting, pausing, terminating, turning off, or otherwise disabling the execution of this initialization routine (and/or initialization operation(s)), or if not then starting, continuing, or resuming the executing the initialization routine (and/or initialization operation(s)), and optionally instructing the other machines M 1 . . . Mn to load a similar equivalent object or class and consequential changes brought about by the execution of the initialization routine.
- the modifying instructions may be inserted prior to the routine, such as for example prior to the instruction(s) or operation(s) which commence initialization of the corresponding class or object.
- the loading procedure continues by loading the modified application code in place of the unmodified application code, as indicated in step 164 .
- the initialization routine is to be executed only once, and preferably by only one machine, on behalf of all machines M 1 . . . Mn corresponding to the determination by all machines M 1 . . . Mn that the particular object or class (i.e. the similar equivalent local object or class on each machine M 1 . . . Mn corresponding to the particular object or class to which this initialization routine relates) has not been initialized.
- FIG. 17 illustrates a particular form of modification.
- the structures, assets or resources (in JAVA termed classes or objects) to be initialised are, in step 172 , allocated a name or tag (for example a global name or tag) which can be used to identify corresponding similar equivalent local objects on each of the machines M 1 , . . . , Mn.
- a name or tag for example a global name or tag
- This is most conveniently done via a table (or similar data or record structure) maintained by server machine X of FIG. 15 .
- This table may also include an initialization status of the similar equivalent classes or object to be initialised. It will be understood that this table or other data structure may store only the initialization status, or it may store other status or information as well.
- steps 173 and 174 determine by means of the communication between machines M 1 . . . Mn by DRT 71 that the similar equivalent local objects on each other machine corresponding to the global name or tag is not already initialised (i.e., not initialized on a machine other than the machine carrying out the loading and seeking to perform initialization)
- the initialization routine is stopped from initiating or commencing or beginning execution; however, in some implementations it is difficult or practically impossible to stop the initialization routine from initiating or beginning or commencing execution. Therefore, in an alternative embodiment, the execution of the initialization routine that has already started or commenced is aborted such that it does not complete or does not complete in its normal manner.
- This alternative abortion is understood to include an actual abortion, or a suspend, or postpone, or pause of the execution of a initialization routine that has started to execute (regardless of the stage of execution before completion) and therefore to make sure that the initialization routine does not get the chance to execute to completion the initialization of the object (or class or other asset)—and therefore the object (or class or other asset) remains “un-initialized” (i.e., “not initialized”).
- steps 173 and 174 determine that the global name corresponding to the plurality of similar equivalent local objects or classes, each on a one of the plurality of machines M 1 . . . Mn, is already initialised on another machine, then this means that the object or class is considered to be initialized on behalf of, and for the purposes of, the plurality of machines M 1 . . . Mn.
- the execution of the initialisation routine is aborted, terminated, turned off, or otherwise disabled, by carrying out step 175 .
- FIG. 18 illustrative of one embodiment of step 173 of FIG. 17 , shows the inquiry made by the loading machine (one of M 1 , M 2 . . . Mn) to the server machine X of FIG. 15 , to enquire as to the initialisation status of the plurality of similar equivalent local objects (or classes) corresponding to the global name.
- the operation of the loading machine is temporarily interrupted as indicated by step 181 , and corresponding to step 173 of FIG. 17 , until a reply to this preceding request is received from machine X, as indicated by step 182 .
- the loading machine sends an inquiry message to machine X to request the initialization status of the object (or class or other asset) to be initialized.
- the loading machine awaits a reply from machine X corresponding to the inquiry message sent by the proposing machine at step 181 , indicated by step 182 .
- FIG. 19 shows the activity carried out by machine X of FIG. 15 in response to such an initialization enquiry of step 181 of FIG. 18 .
- the initialization status is determined in steps 192 and 193 , which determines if a similar equivalent object (or class or other asset) corresponding to the initialization status request of global name, as received at step 191 , is initialized on another machine (i.e. a machine other than the inquiring machine 181 from which the initialization status request of step 191 originates), where a table of initialisation states is consulted corresponding to the record for the global name and, if the initialisation status record indicates that a similar equivalent local object (or class) on another machine (such as on a one of the machines M 1 . . .
- the response to that effect is sent to the inquiring machine by carrying out step 194 .
- the initialisation status record indicates that a similar equivalent local object (or class) on another machine (such as on a one of the plurality of machines M 1 . . . Mn) and corresponding to global name is uninitialized, a corresponding reply is sent to the inquiring machine by carrying out steps 195 and 196 .
- the singular term object or class as used here are to be understood to be inclusive of all similar equivalent objects (or classes, or assets, or resources) corresponding to the same global name on each one of the plurality of machines M 1 . Mn.
- the waiting inquiring machine of step 182 is then able to respond and/or operate accordingly, such as for example by (i) aborting (or pausing, or postponing) execution of the initialization routine when the reply from machine X of step 182 indicated that a similar equivalent local object on another machine (such as a one of the plurality of machines M 1 . . . Mn) corresponding to the global name of the object proposed to be initialized of step 172 is already initialized elsewhere (i.e.
- step 172 is initialized on a machine other than the machine proposing to carry out the initialization); or (ii) by continuing (or resuming, or starting, or commencing) execution of the initialization routine when the reply from machine X of step 182 indicated that a similar equivalent local object on the plurality of machines M 1 . . . Mn corresponding to the global name of the object proposing to be initialized of step 172 is not initialized elsewhere (i.e. not initialized on a machine other than the machine proposing to carry out the initialization).
- Annexures A 1 -A 10 illustrate actual code in relation to fields
- Annexure B 1 is a typical code fragment from an unmodified ⁇ clinit> instruction
- Annexure B 2 is an equivalent in respect of a modified ⁇ clinit> instruction
- Annexure B 3 is a typical code fragment from an unmodified ⁇ init> instruction
- Annexure B 4 is an equivalent in respect of a modified ⁇ init> instruction
- Annexure B 5 is an alternative to the code of Annexure B 2
- Annexure B 6 is an alternative to the code of Annexure B 4 .
- Annexure B 7 is the source-code of InitClient which carries out one embodiment of the steps of FIGS. 17 and 18 , which queries an “initialization server” (for example a machine X) for the initialization status of the specified class or object with respect to the plurality of similar equivalent classes or objects on the plurality of machines M 1 . . . Mn.
- Annexure B 8 is the source-code of InitServer which carries out one embodiment of the steps of FIG. 19 , which receives an initialization status query sent by InitClient and in response returns the corresponding initialization status of the specified class or object.
- Annexure B 9 is the source-code of the example application used in the before/after examples of Annexure B 1 -B 6 (Repeated as Tables X through XV).
- Annexure B 10 is the source-code of InitLoader which carries out one embodiment of the steps of FIGS. 16 , 20 , and 21 , which modifies the example application program code of Annexure B 9 in accordance with one mode of this invention.
- Annexures B 1 and B 2 are exemplary code listings that set forth the conventional or unmodified computer program software code (such as may be used in a single machine or computer environment) of an initialization routine of application program 50 and a post-modification excerpt of the same initialization routine such as may be used in embodiments of the present invention having multiple machines.
- the modified code that is added to the initialization routine is highlighted in bold text.
- the disassembled compiled code in the annexure and portion repeated in the table is taken from the source-code of the file “example java” which is included in the Annexure B 4 (Table XIII).
- the procedure name “Method ⁇ clinit>” of Step 001 is the name of the displayed disassembled output of the clinit method of the compiled application code “example java”.
- the method name “ ⁇ clinit> ” is the name of a class' initialization method in accordance with the JAVA platform specification, and selected for this example to indicate a typical mode of operation of a JAVA initialization method. Overall the method is responsible for initializing the class ‘example’ so that it may be used, and the steps the “example.java” code performs are described in turn.
- Step 002 the JAVA virtual machine instruction “new # 2 ⁇ Class example>” causes the JAVA virtual machine to instantiate a new class instance of the example class indicated by the CONSTANT_Classref_info constant_pool item stored in the 2 nd index of the classfile structure of the application program containing this example ⁇ clinit> method and results in a reference to an newly created object of type ‘example’ being placed (pushed) on the stack of the current method frame of the currently executing thread.
- the Java Virtual Machine instruction “dup” causes the Java Virtual Machine to duplicate the topmost item of the stack and push the duplicated item onto the topmost position of the stack of the current method frame and results in the reference to the new created ‘example’ object at the top of the stack being duplicated and pushed onto the stack.
- the JAVA virtual machine instruction “invokespecial # 3 ⁇ Method example( )>” causes the JAVA virtual machine to pop the topmost item off the stack of the current method frame and invoke the instance initialization method “ ⁇ init>” on the popped object and results in the “ ⁇ init>” constructor of the newly created ‘example’ object being invoked.
- the Java Virtual Machine instruction “putstatic # 3 ⁇ Field example currentExample>” causes the Java Virtual Machine to pop the topmost value off the stack of the current method frame and store the value in the static field indicated by the CONSTANT_Fieldref_info constant-pool item stored in the 3 rd index of the classfile structure of the application program containing this example ⁇ clinit> method and results in the reference to the newly created and initialized ‘example’ object on the top of the stack of the current method frame being stored in the static reference field named “currentExample” of class ‘example’.
- Step 006 causes the Java Virtual Machine to cease executing this ⁇ clinit> method by returning control to the previous method frame and results in termination of execution of this ⁇ clinit> method.
- the JAVA virtual machine can keep track of the initialization status of a class in a consistent, coherent and coordinated manner, and in executing the ⁇ clinit> method containing the initialization operations is able to ensure that unwanted behaviour (for example execution of the ⁇ init> method of class ‘example.java’ more than once) such as may be caused by inconsistent and/or incoherent initialization operation, does not occur.
- unwanted behaviour for example execution of the ⁇ init> method of class ‘example.java’ more than once
- the JAVA virtual machine instruction “invokestatic # 3 ⁇ Method Boolean is AlreadyLoaded(java.lang.String)>” is inserted after the “ 0 Idc # 2 ” instruction so that the JAVA virtual machine pops the topmost item off the stack of the current method frame (which in accordance with the preceding “Idc # 2 ” instruction is a reference to the String object with the value “example” which corresponds to the name of the class to which this ⁇ clinit> method belongs) and invokes the “isAlreadyLoaded” method, passing the popped item to the new method frame as its first argument, and returning a boolean value onto the stack upon return from this “invokestatic” instruction.
- This change is significant because it modifies the ⁇ clinit> method to execute the “isAlreadyLoaded” method and associated operations, corresponding to the start of execution of the ⁇ clinit> method, and returns a boolean argument (indicating whether the class corresponding to this ⁇ clinit> method is initialized on another machine amongst the plurality of machines M 1 . . . Mn) onto the stack of the executing method frame of the ⁇ clinit> method.
- two JAVA virtual machine instructions “ifeq 9 ” and “return” are inserted into the code stream after the “ 2 invokestatic # 3 ” instruction and before the “new # 5 ” instruction.
- the first of these two instructions, the “ifeq 9 ” instruction causes the JAVA virtual machine to pop the topmost item off the stack and performs a comparison between the popped value and zero. If the performed comparison succeeds (i.e. if and only if the popped value is equal to zero), then execution continues at the “ 9 new # 5 ” instruction. If however the performed comparison fails (i.e. if and only if the popped value is not equal to zero), then execution continues at the next instruction in the code stream, which is the “ 8 return” instruction.
- This change is particularly significant because it modifies the ⁇ clinit> method to either continue execution of the ⁇ clinit> method (i.e. instructions 9 - 19 ) if the returned value of the “isAlreadyLoaded” method was negative (i.e. “false”), or discontinue execution of the ⁇ clinit> method (i.e. the “ 8 return” instruction causing a return of control to the invoker of this ⁇ clinit> method) if the returned value of the “isAlreadyLoaded” method was positive (i.e. “true”).
- the method void isAlreadyLoaded(java.lang.String), part of the InitClient code of Annexure B 7 , and part of the distributed runtime system (DRT) 71 , performs the communications operations between machines M 1 . . . Mn to coordinate the execution of the ⁇ clinit> method amongst the machines M 1 . . . Mn.
- the isAlreadyLoaded method of this example communicates with the InitServer code of Annexure B 8 executing on a machine X of FIG. 15 , by means of sending an “initialization status request” to machine X corresponding to the class being “initialized” (i.e. the class to which this ⁇ clinit> method belongs).
- machine X receives the “initialization status request” corresponding to the class to which the ⁇ clinit> method belongs, and consults a table of initialization states or records to determine the initialization state for the class to which the request corresponds.
- machine X will send a response indicating that the class was not already initialized, and update a record entry corresponding to the specified class to indicate the class is now initialized.
- machine X will send a response indicating that the class is already initialized.
- a reply is generated and sent to the requesting machine indicating that the class is not initialized.
- machine X preferably updates the entry corresponding to the class to which the initialization status request pertained to indicate the class is now initialized. Following a receipt of such a message from machine X indicating that the class is not initialized on another machine, the isAlreadyLoaded( ) method and operations terminate execution and return a ‘false’ value to the previous method frame, which is the executing method frame of the ⁇ clinit> method. Alternatively, following a receipt of a message from machine X indicating that the class is already initialized on another machine, the isAlreadyLoaded( ) method and operations terminate execution and return a “true” value to the previous method frame, which is the executing method frame of the ⁇ clinit> method. Following this return operation, the execution of the ⁇ clinit> method frame then resumes as indicated in the code sequence of Annexure B 5 at step 004 .
- the modified code permits, in a distributed computing environment having a plurality of computers or computing machines, the coordinated operation of initialization routines or other initialization operations between and amongst machines M 1 . . . Mn so that the problems associated with the operation of the unmodified code or procedure on a plurality of machines M 1 . . . Mn (such as for example multiple initialization operation, or re-initialization operation) does not occur when applying the modified code or procedure.
- Annexures B 3 and B 6 are exemplary code listings that set forth the conventional or unmodified computer program software code (such as may be used in a single machine or computer environment) of an initialization routine of application program 50 and a post-modification excerpt of the same initialization routine such as may be used in embodiments of the present invention having multiple machines.
- the modified code that is added to the initialization routine is highlighted in bold text.
- the disassembled compiled code in the annexure and portion repeated in the table is taken from the source-code of the file “example.java” which is included in the Annexure B 4 .
- the procedure name “Method ⁇ init>” of Step 001 is the name of the displayed disassembled output of the init method of the compiled application code “example Java”.
- the method name “ ⁇ init>” is the name of an object's initialization method (or methods, as there may be more than one) in accordance with the JAVA platform specification, and selected for this example to indicate a typical mode of operation of a JAVA initialization method. Overall the method is responsible for initializing an ‘example’ object so that it may be used, and the steps the “example.java” code performs are described in turn.
- the Java Virtual Machine instruction “aload_ 0 ” causes the Java Virtual Machine to load the item in the local variable array al index 0 of the current method frame and store this item on the top of the stack of the current method frame and results in the ‘this’ object reference stored in the local variable array at index 0 being pushed onto the stack.
- Step 003 the JAVA virtual machine instruction “invokespecial # 1 ⁇ Method java.lang.Object( )>” causes the JAVA virtual machine to pop the topmost item off the stack of the current method frame and invoke the instance initialization method “ ⁇ init>” on the popped object and results in the “ ⁇ init>” constructor (or method) of the ‘example’ object's superclass being invoked.
- the Java Virtual Machine instruction “aload_ 0 ” causes the Java Virtual Machine to load the item in the local variable array at index 0 of the current method frame and store this item on the top of the stack of the current method frame and results in the ‘this’ object reference stored in the local variable array at index 0 being pushed onto the stack.
- Step 005 the JAVA virtual machine instruction “invokestatic # 2 ⁇ Method long currentTimeMillis( )>” causes the JAVA virtual machine to invoke the “currentTimeMillis( )” method of the java.lang.System class, and results in a long value pushed onto the top of the stack corresponding to the return value from the currentTimeMillis( ) method invocation.
- the Java Virtual Machine instruction “putfield # 3 ⁇ Field long timestamp>” causes the Java Virtual Machine to pop the two topmost values off the stack of the current method frame and store the topmost value in the object instance field of the second popped value, indicated by the CONSTANT_Fieldref_info constant-pool item stored in the 3 rd index of the classfile structure of the application program containing this example ⁇ init> method, and results in the long value on the top of the stack of the current method frame being stored in the instance field named “timestamp” of the object reference below the long value on the stack.
- Step 007 causes the Java Virtual Machine to cease executing this ⁇ init> method by returning control to the previous method frame and results in termination of execution of this ⁇ init> method.
- the JAVA virtual machine can keep track of the initialization status of an object in a consistent, coherent and coordinated manner, and in executing the ⁇ init> method containing the initialization operations is able to ensure that unwanted behaviour (for example execution of the ⁇ init> method of a single ‘example.java’ object more than once, or re-initialization of the same object) such as may be caused by inconsistent and/or incoherent initialization operation, does not occur.
- unwanted behaviour for example execution of the ⁇ init> method of a single ‘example.java’ object more than once, or re-initialization of the same object
- This inserted “aload_ 0 ” instruction causes the JAVA virtual machine to load the item in the local variable array at index 0 of the current method frame and store this item on the top of the stack of the current method frame, and results in the object reference to the ‘this’ object at index 0 being pushed onto the stack.
- the JAVA virtual machine instruction “invokestatic # 3 ⁇ Method Boolean is AlreadyLoaded(java.lang.Object)>” is inserted after the “ 4 aload_ 0 ” instruction so that the JAVA virtual machine pops the topmost item off the stack of the current method frame (which in accordance with the preceding “aload_ 0 ” instruction is a reference to the object to which this ⁇ init> method belongs) and invokes the “isAlreadyLoaded” method, passing the popped item to the new method frame as its first argument, and returning a boolean value onto the stack upon return from this “invokestatic” instruction.
- This change is significant because it modifies the ⁇ init> method to execute the “isAlreadyLoaded” method and associated operations, corresponding to the start of execution of the ⁇ init> method, and returns a boolean argument (indicating whether the object corresponding to this ⁇ init> method is initialized on another machine amongst the plurality of machines M 1 . . . Mn) onto the stack of the executing method frame of the ⁇ init> method.
- two JAVA virtual machine instructions “ifeq 13 ” and “return” are inserted into the code stream after the “ 5 invokestatic # 2 ” instruction and before the “ 12 aload_ 0 ” instruction.
- the first of these two instructions, the “ifeq 13 ” instruction causes the JAVA virtual machine to pop the topmost item off the stack and performs a comparison between the popped value and zero. If the performed comparison succeeds (i.e. if and only if the popped value is equal to zero), then execution continues at the “ 12 aload_ 0 ” instruction. If however the performed comparison fails (i.e. if and only if the popped value is not equal to zero), then execution continues at the next instruction in the code stream, which is the “ 11 return” instruction.
- This change is particularly significant because it modifies the ⁇ init> method to either continue execution of the ⁇ init> method (i.e. instructions 12 - 19 ) if the returned value of the “isAlreadyLoaded” method was negative (i.e. “false”), or discontinue execution of the ⁇ init> method (i.e. the “ 11 return” instruction causing a return of control to the invoker of this ⁇ init> method) if the returned value of the “isAlreadyLoaded” method was positive (i.e. “true”).
- the method void isAlreadyLoaded(java.lang.Object), part of the InitClient code of Annexure B 7 , and part of the distributed runtime system (DRT) 71 , performs the communications operations between machines M 1 . . . Mn to coordinate the execution of the ⁇ init> method amongst the machines M 1 . . . Mn.
- the isAlreadyLoaded method of this example communicates with the Initserver code of Annexure B 8 executing on a machine X of FIG. 15 , by means of sending an “initialization status request” to machine X corresponding to the object being “initialized” (i.e. the object to which this ⁇ clinit> method belongs).
- machine X receives the “initialization status request” corresponding to the object to which the ⁇ clinit> method belongs, and consults a table of initialization states or records to determine the initialization state for the object to which the request corresponds.
- machine X will send a response indicating that the object was not already initialized, and update a record entry corresponding to the specified object to indicate the object is now initialized.
- machine X will send a response indicating that the object is already initialized.
- a reply is generated and sent to the requesting machine indicating that the object is not initialized.
- machine X preferably updates the entry corresponding to the object to which the initialization status request pertained to indicate the object is now initialized. Following a receipt of such a message from machine X indicating that the object is not initialized on another machine, the isAlreadyLoaded( ) method and operations terminate execution and return a ‘false’ value to the previous method frame, which is the executing method frame of the ⁇ init> method. Alternatively, following a receipt of a message from machine X indicating that the object is already initialized on another machine, the isAlreadyLoaded( ) method and operations terminate execution and return a “true” value to the previous method frame, which is the executing method frame of the ⁇ init> method. Following this return operation, the execution of the ⁇ init> method frame then resumes as indicated in the code sequence of Annexure B 5 at step 006 .
- the modified code permits, in a distributed computing environment having a plurality of computers or computing machines, the coordinated operation of initialization routines or other initialization operations so that the problems associated with the operation of the unmodified code or procedure on a plurality of machines M 1 .
- Mn (such as for example multiple initialization, or re-initialization operation) does not occur when applying the modified code or procedure.
- Annexure B 1 is a before-modification excerpt of the disassembled compiled form of the ⁇ clinit> method of the example.java application of Annexure B 9 .
- Annexure B 2 is an after-modification form of Annexure B 1 , modified by InitLoader.java of Annexure B 10 in accordance with the steps of FIG. 20 .
- Annexure B 3 is a before-modification excerpt of the disassembled compiled form of the ⁇ init> method of the example.java application of Annexure B 9 .
- Annexure B 4 is an after-modification form of Annexure B 3 , modified by InitLoader.java of Annexure B 10 in accordance with the steps of FIG. 21 .
- Annexure B 5 is an alternative after-modification form of Annexure B 1 , modified by InitLoader.java of Annexure B 10 in accordance with the steps of FIG. 20 .
- Annexure B 6 is an alternative after-modification form of Annexure B 3 , modified by InitLoader.java of Annexure B 10 in accordance with the steps of FIG. 21 . The modifications are highlighted in bold.
- FIGS. 20 and 21 the procedure followed to modify class initialisation routines (i.e., the “ ⁇ clinit>” method) and object initialization routines (i.e. the “ ⁇ init>” method) is presented.
- the procedure followed to modify a ⁇ clinit> method relating to classes so as to convert from the code fragment of Annexure B 1 (See Table X) to the code fragment of Annexure B 5 (See Table XIV) is indicated.
- the initial loading of the application code 50 (an illustrative example in source-code form of which is displayed in Annexure B 9 , and a corresponding partially disassembled form of which is displayed in Annexure B 1 (See also Table X) and Annexure B 3 (See also Table XII)) onto the JAVA virtual machine 72 is commenced at step 201 , and the code is analysed or scrutinized in order to detect one or more class initialization instructions, code-blocks or methods (i.e. “ ⁇ clinit>” methods) by carrying out step 202 , and/or one or more object initialization instructions, code-blocks, or methods (i.e. “ ⁇ init>” methods) by carrying out step 212 .
- one or more class initialization instructions, code-blocks or methods i.e. “ ⁇ clinit>” methods
- object initialization instructions, code-blocks, or methods i.e. “ ⁇ init>” methods
- an ⁇ clinit> method is modified by carrying out step 203
- an ⁇ init > method is modified by carrying out step 213 .
- One example illustration for a modified class initialisation routine is indicated in Annexure B 2 (See also Table XI), and a further illustration of which is indicated in Annexure B 5 (See also Table XIV).
- One example illustration for a modified object initialisation routine is indicated in Annexure B 4 (See also Table XIII), and a further illustration of which is indicated in Annexure B 6 (See also Table XV).
- the loading procedure is then continued such that the modified application code is loaded into or onto each of the machines instead of the unmodified application code.
- Annexure B 1 See also Table X
- Annexure B 2 See also Table XI
- Annexure B 5 See also Table XIV.
- the modified code that is added to the method is highlighted in bold.
- each computer or computing machine would re-initialise (and optionally alternatively re-write or over-write) the “currentExample” memory location (field) with multiple and different objects corresponding to the multiple executions of the ⁇ clinit> method, leading to potentially incoherent or inconsistent memory between and amongst the occurrences of the application program code 50 on each of the machines M 1 , . . . , Mn.
- the programmer or user of a single application program code 50 instance expects to happen.
- the application code 50 is modified as it is loaded into the machine by changing the class initialisation routine (i.e., the ⁇ clinit> method).
- the changes made are the initial instructions that the modified ⁇ clinit> method executes.
- These added instructions determine the initialization status of this particular class by checking if a similar equivalent local class on another machine corresponding to this particular class, has already been initialized and optionally loaded, by calling a routine or procedure to determine the initialization status of the plurality of similar equivalent classes, such as the “is already loaded” (e.g., “isAlreadyLoaded( )”) procedure or method.
- the “isAlreadyLoaded( )” method of InitClient of Annexure B 7 of DRT 71 performing the steps of 172 - 176 of FIG. 17 determines the initialization status of the similar equivalent local classes each on a one of the machines M 1 , . . . , Mn corresponding to the particular class being loaded, the result of which is either a true result or a false result corresponding to whether or not another one (or more) of the machines M 1 . Mn have already initialized, and optionally loaded, a similar equivalent class.
- the initialisation determination procedure or method “isAlreadyLoaded( )” of InitClient of Annexure B 7 of the DRT 71 can optionally take an argument which represents a unique identifier for this class (See Annexure B 5 and Table XIV). For example, the name of the class that is being considered for initialisation, a reference to the class or class-object representing this class being considered for initialization, or a unique number or identifier representing this class across all machines (that is, a unique identifier corresponding to the plurality of similar equivalent local classes each on a one of the plurality of machines M 1 . . . Mn), to be used in the determination of the initialisation status of the plurality of similar equivalent local classes on each of the machines M 1 . . . Mn.
- the DRT can support the initialization of multiple classes at the same time without becoming confused as to which of the multiple classes are already loaded and which are not, by using the unique identifier of each class.
- the DRT 71 can determine the initialization status of the class in a number of possible ways.
- the requesting machine can ask each other requested machine in turn (such as by using a computer communications network to exchange query and response messages between the requesting machine and the requested machine(s)) if the requested machine's similar equivalent local class corresponding to the unique identifier is initialized, and if any requested machine replies true indicating that the similar equivalent local class has already been initialized, then return a true result at return from the isAlreadyLoaded( ) method indicating that the local class should not be initialized, otherwise return a false result at return from the isAlreadyLoaded( ) method indicating that the local class should be initialized.
- the DRT on the local machine can consult a shared record table (perhaps on a separate machine (eg machine X), or a coherent shared record table on each local machine and updated to remain substantially identical, or in a database) to determine if one of the plurality of similar equivalent classes on other machines has been initialised.
- a shared record table perhaps on a separate machine (eg machine X), or a coherent shared record table on each local machine and updated to remain substantially identical, or in a database
- the DRT when a shared record table of initialisation states exists, the DRT must update the initialisation status record corresponding to this class in the shared record table to true or other value indicating that this class is initialized, such that subsequent consultations of the shared record table of initialisation states (such as performed by all subsequent invocations of isAlreadyLoaded method) by all machines, and optionally including the current machine, will now return a true value indicating that this class is already initialized.
- isAlreadyLoaded( ) returns false, the modified class initialisation routine resumes or continues (or otherwise optionally begins or starts) execution.
- this class (of the plurality of similar equivalent local classes each on one of the plurality of machines M 1 . . . Mn) has already been initialised in the distributed environment, as recorded in the shared record table on machine X of the initialisation states of classes.
- the class initialisation method is not to be executed (or alternatively resumed, or continued, or started, or executed to completion), as it will potentially cause unwanted interactions or conflicts, such as re-initialization of memory, data structures or other machine resources or devices.
- the inserted instructions at the start of the ⁇ clinit> method prevent execution of the initialization routine (optionally in whole or in part) by aborting the start or continued execution of the ⁇ clinit> method through the use of the return instruction, and consequently aborting the JAVA Virtual Machine's initialization operation for this class.
- FIG. 21 An equivalent procedure for the initialization routines of object (for example “ ⁇ init>” methods) is illustrated in FIG. 21 where steps 212 and 213 are equivalent to steps 202 and 203 of FIG. 20 . This results in the code of Annexure B 3 being converted into the code of Annexure B 4 (See also Table XIII) or Annexure B 6 (See also Table XV).
- Annexure B 3 (See also Table XII) and Annexure B 4 (See also Table XIV) are the before (or pre-modification or unmodified code) and after (or post-modification or modified code) excerpt of a object initialisation routine (i.e. a “ ⁇ init>” method) respectively.
- a further example of an alternative modified ⁇ init> method is illustrated in Annexure B 6 (See also Table XV). The modified code that is added to the method is highlighted in bold.
- the “aload_ 0 ” and “invokespecial # 3 ” instructions of the ⁇ init> method invokes the ⁇ init> of the java.lang.Object superclass.
- the following instructions “aload_ 0 ” loads a reference to the ‘this’ object onto the stack to be one of the arguments to the “ 8 putfield # 3 ” instruction.
- the following instruction “invokestatic # 2 ” invokes the method java.lang.System.currentTimeMillis( ) and returns a long value on the stack.
- the following instruction “putfield # 3 ” writes the long value placed on the stack be the preceding “invokestatic # 2 ” instruction to the memory location (field) called “timestamp” corresponding to the object instance loaded on the stack by the “ 4 aload_ 0 ” instruction.
- the application code 50 is modified as it is loaded into the machine by changing the object initialisation routine (i.e. the ⁇ init> method).
- the changes made are the initial instructions that the modified ⁇ init> method executes.
- These added instructions determine the initialisation status of this particular object by checking if a similar equivalent local object on another machine corresponding to this particular object, has already been initialized and optionally loaded, by calling a routine or procedure to determine the initialisation status of the object to be initialised, such as the “is already loaded” (e.g., “isAlreadyLoaded( )”) procedure or method of Annexure B 7 .
- the “isAlreadyLoaded( )” method of DRT 71 performing the steps of 172 - 176 of FIG. 17 determines the initialization status of the similar equivalent local objects each on a one of the machines M 1 , . . . , Mn corresponding to the particular object being loaded, the result of which is either a true result or a false result corresponding to whether or not another one (or more) of the machines M 1 . . . Mn have already initialized, and optionally loaded, this object.
- the initialisation determination procedure or method “isAlreadyLoaded( )” of the DRT 71 can optionally take an argument which represents a unique identifier for this object (See Annexure B 6 and Table XV). For example, the name of the object that is being considered for initialisation, a reference to the object being considered for initialization, or a unique number or identifier representing this object across all machines (that is, a unique identifier corresponding to the plurality of similar equivalent local objects each on a one of the plurality of machines M 1 . . . Mn), to be used in the determination of the initialisation status of this object in the plurality of similar equivalent local objects on each of the machines M 1 . . . Mn.
- the DRT can support the initialization of multiple objects at the same time without becoming confused as to which of the multiple objects are already loaded and which are not, by using the unique identifier of each object.
- the DRT 71 can determine the initialization status of the object in a number of possible ways.
- the requesting machine can ask each other requested machine in turn (such as by using a computer communications network to exchange query and response messages between the requesting machine and the requested machine(s)) if the requested machine's similar equivalent local object corresponding to the unique identifier is initialized, and if any requested machine replies true indicating that the similar equivalent local object has already been initialized, then return a true result at return from the isAlreadyLoaded( ) method indicating that the local object should not be initialized, otherwise return a false result at return from the isAlreadyLoaded( ) method indicating that the local object should be initialized.
- the DRT on the local machine can consult a shared record table (perhaps on a separate machine (eg machine X), or a coherent shared record table on each local machine and updated to remain substantially identical, or in a database) to determine if this particular object (or any one of the plurality of similar equivalent objects on other machines) has been initialised by one of the requested machines.
- a shared record table perhaps on a separate machine (eg machine X), or a coherent shared record table on each local machine and updated to remain substantially identical, or in a database
- the isAlreadyLoaded( ) method of the DRT 71 returns false, then this means that this object (of the plurality of similar equivalent local objects on the plurality of machines M 1 . . . Mn) has not been initialized before on any other machine in the distributed computing environment of the plurality of machines M 1 . . . Mn, and hence, the execution of the object initialisation method is to take place or proceed as this is considered the first and original initialization.
- the DRT when a shared record table of initialisation states exists, the DRT must update the initialisation status record corresponding to this object in the shared record table to true or other value indicating that this object is initialized, such that subsequent consultations of the shared record table of initialisation states (such as performed by all subsequent invocations of is alreadyLoaded method) by all machines, and including the current machine, will now return a true value indicating that this object is already initialized.
- isAlreadyLoaded( ) returns false, the modified object initialisation routine resumes or continues (or otherwise optionally begins or starts) execution.
- the isAlreadyLoaded method of the DRT 71 returns true, then this means that this object (of the plurality of similar equivalent local objects each on one of the plurality of machines M 1 . . . Mn) has already been initialised in the distributed environment, as recorded in the shared record table on machine X of the initialisation states of objects.
- the object initialisation method is not to be executed (or alternatively resumed, or continued, or started, or executed to completion), as it will potentially cause unwanted interactions or conflicts, such as re-initialization of memory, data structures or other machine resources or devices.
- the inserted instructions near the start of the ⁇ init> method prevent execution of the initialization routine (optionally in whole or in part) by aborting the start or continued execution of the ⁇ init> method through the use of the return instruction, and consequently aborting the JAVA Virtual Machine's initialization operation for this object.
- a similar modification as used for ⁇ clinit> is used for ⁇ init>.
- the application program's ⁇ init> method (or methods, as there may be multiple) is or are detected as shown by step 212 and modified as shown by step 213 to behave coherently across the distributed environment.
- the disassembled instruction sequence after modification has taken place is set out in Annexure B 4 (and an alternative similar arrangement is provided in Annexure B 6 ) and the modified/inserted instructions are highlighted in bold.
- the modifying instructions are often required to be placed after the “invokespecial” instruction, instead of at the very beginning. The reasons for this are driven by the JAVA Virtual Machine specification. Other languages often have similar subtle design nuances.
- a particular machine say machine M 2 , loads the asset (such as class or object) inclusive of an initialisation routine, modifies it, and then loads each of the other machines M 1 , M 3 , . . . , Mn (either sequentially or simultaneously or according to any other order, routine or procedure) with the modified object (or class or other asset or resource) inclusive of the new modified initialization routine(s).
- asset such as class or object
- Mn either sequentially or simultaneously or according to any other order, routine or procedure
- the modified object or class or other asset or resource
- the initialization routine(s) that is (are) loaded is binary executable object code.
- the initialization routine(s) that is (are) loaded is executable intermediary code.
- each of the slave (or secondary) machines M 1 , M 3 , . . . , Mn loads the modified object (or class), and inclusive of the new modified initialisation routine(s), that was sent to it over the computer communications network or other communications link or path by the master (or primary) machine, such as machine M 2 , or some other machine such as a machine X of FIG. 15 .
- the computer communications network can be replaced by a shared storage device such as a shared file system, or a shared document/file repository such as a shared database.
- each machine or computer need not and frequently will not be the same or identical. What is required is that they are modified in a similar enough way that in accordance with the inventive principles described herein, each of the plurality of machines behaves consistently and coherently relative to the other machines to accomplish the operations and objectives described herein.
- modifications may for example depend on the particular hardware, architecture, operating system, application program code, or the like or different factors. It will also be appreciated that embodiments of the invention may be implemented within an operating system, outside of or without the benefit of any operating system, inside the virtual machine, in an EPROM, in software, in firmware, or in any combination of these.
- machine M 2 loads asset (such as class or object) inclusive of an (or even one or more) initialization routine in unmodified form on machine M 2 , and then (for example, machine M 2 or each local machine) modifies the class (or object or asset) by deleting the initialization routine in whole or part from the asset (or class or object) and loads by means of a computer communications network or other communications link or path the modified code for the asset with the now modified or deleted initialization routine on the other machines.
- the modification is not a transformation, instrumentation, translation or compilation of the asset initialization routine but a deletion of the initialization routine on all machines except one.
- the process of deleting the initialization routine in its entirety can either be performed by the “master” machine (such as machine M 2 or some other machine such as machine X of FIG. 15 ) or alternatively by each other machine M 1 , M 3 , . . . , Mn upon receipt of the unmodified asset.
- An additional variation of this “master/slave” or “primary/secondary” arrangement is to use a shared storage device such as a shared file system, or a shared document/file repository such as a shared database as means of exchanging the code (including for example, the modified code) for the asset, class or object between machines M 1 , M 2 , . . . , Mn and optionally a machine X of FIG. 15 .
- each machine M 1 , . . . , Mn receives the unmodified asset (such as class or object) inclusive of one or more initialization routines, but modifies the routines and then loads the asset (such as class or object) consisting of the now modified routines.
- asset such as class or object
- one machine such as the master or primary machine may customize or perform a different modification to the initialization routine sent to each machine, this embodiment more readily enables the modification carried out by each machine to be slightly different and to be enhanced, customized, and/or optimized based upon its particular machine architecture, hardware, processor, memory, configuration, operating system, or other factors, yet still similar, coherent and consistent with other machines with all other similar modifications and characteristics that may not need to be similar or identical.
- a particular machine say M 1 , loads the unmodified asset (such as class or object) inclusive of one or more initialisation routine and all other machines M 2 , M 3 , . . . , Mn perform a modification to delete the initialization routine of the asset (such as class or object) and load the modified version.
- the supply or the communication of the asset code (such as class code or object code) to the machines M 1 , . . . , Mn, and optionally inclusive of a machine X of FIG. 15 can be branched, distributed or communicated among and between the different machines in any combination or permutation: such as by providing direct machine to machine communication (for example, M 2 supplies each of M 1 , M 3 , M 4 , etc. directly), or by providing or using cascaded or sequential communication (for example, M 2 supplies M 1 which then supplies M 3 which then supplies M 4 , and so on), or a combination of the direct and cascaded and/or sequential.
- direct machine to machine communication for example, M 2 supplies each of M 1 , M 3 , M 4 , etc. directly
- cascaded or sequential communication for example, M 2 supplies M 1 which then supplies M 3 which then supplies M 4 , and so on
- the initial machine say M 2
- This table is then sent or communicated (or at least its contents are sent or communicated) to all other machines (including for example in branched or cascade fashion).
- a machine other than M 2 , needs to load and therefore initialise a class listed in the table, it sends a request to M 2 to provide the necessary information, optionally consisting of either the unmodified application code 50 of the class or object to be loaded, or the modified application code of the class or object to be loaded, and optionally a copy of the previously initialised (or optionally and if available, the latest or even the current) values or contents of the previously loaded and initialised class or object on machine M 2 .
- An alternative arrangement of this mode may be to send the request for necessary information not to machine M 2 , but some other, or even more than one of, machine M 1 , . . . , Mn or machine X.
- the information provided to machine Mn is, in general, different from the initial state loaded and initialise by machine M 2 .
- each entry in the table is accompanied by a counter which is incremented on each occasion that a class or object is loaded and initialised on one of the machines M 1 , . . . , Mn.
- a counter which is incremented on each occasion that a class or object is loaded and initialised on one of the machines M 1 , . . . , Mn.
- This “on demand” mode may somewhat increase the overhead of the execution of this invention for one or more machines M 1 , . . . , Mn, but it also reduces the volume of traffic on the communications network which interconnects the computers and therefore provides an overall advantage.
- the machines M 1 to Mn may send some or all load requests to an additional machine X (see for example the embodiment of FIG. 15 ), which performs the modification to the application code 50 inclusive of an (and possibly a plurality of) initialisation routine(s) via any of the afore mentioned methods, and returns the modified application code inclusive of the now modified initialization routine(s) to each of the machines M 1 to Mn, and these machines in turn load the modified application code inclusive of the modified routines locally.
- machines M 1 to Mn forward all load requests to machine X, which returns a modified application program code 50 inclusive of modified initialization routine(s) to each machine.
- the modifications performed by machine X can include any of the modifications covered under the scope of the present invention. This arrangement may of course be applied to some of the machines and other arrangements described herein before applied to other of the machines.
- One such technique is to make the modification(s) to the application code, without a preceding or consequential change of the language of the application code.
- Another such technique is to convert the original code (for example, JAVA language source-code) into an intermediate representation (or intermediate-code language, or pseudo code), such as JAVA byte code. Once this conversion takes place the modification is made to the byte code and then the conversion may be reversed. This gives the desired result of modified JAVA code.
- a further possible technique is to convert the application program to machine code, either directly from source-code or via the abovementioned intermediate language or through some other intermediate means. Then the machine code is modified before being loaded and executed.
- a still further such technique is to convert the original code to an intermediate representation, which is thus modified and subsequently converted into machine code.
- the present invention encompasses all such modification routes and also a combination of two, three or even more, of such routes.
- FIGS. 22-24 two laptop computers 101 and 102 are illustrated.
- the computers 101 and 102 are not necessarily identical and indeed, one can be an IBM or IBM-clone and the other can be an APPLE computer.
- the computers 101 and 102 have two screens 105 , 115 two keyboards 106 , 116 but a single mouse 107 .
- the two machines 101 , 102 are interconnected by a means of a single coaxial cable or twisted pair cable 314 .
- Two simple application programs are downloaded onto each of the machines 101 , 102 , the programs being modified as they are being loaded as described above.
- the first application is a simple calculator program and results in the image of a calculator 108 being displayed on the screen 105 .
- the second program is a graphics program which displays four coloured blocks 109 which are of different colours and which move about at random within a rectangular box 310 . Again, after loading, the box 310 is displayed on the screen 105 .
- Each application operates independently so that the blocks 109 are in random motion on the screen 105 whilst numerals within the calculator 108 can be selected (with the mouse 107 ) together with a mathematical operator (such as addition or multiplication) so that the calculator 108 displays the result.
- the mouse 107 can be used to “grab” the box 310 and move same to the right across the screen 105 and onto the screen 115 so as to arrive at the situation illustrated in FIG. 23 .
- the calculator application is being conducted on machine 101 whilst the graphics application resulting in display of box 310 is being conducted on machine 102 .
- JAVA includes both the JAVA language and also JAVA platform and architecture.
- the unmodified application code may either be replaced with the modified application code in whole, corresponding to the modifications being performed, or alternatively, the unmodified application code may be replaced in part or incrementally as the modifications are performed incrementally on the executing unmodified application code. Regardless of which such modification routes are used, the modifications subsequent to being performed execute in place of the unmodified application code.
- An advantage of using a global identifier in the invention described is as a form of ‘meta-name’ or ‘meta-identity’ for all the similar equivalent local objects (or classes, or assets or resources or the like) on each one of the plurality of machines M 1 , . . . , Mn.
- each machine may instead define or use a global name corresponding to the plurality of similar equivalent objects on each machine (e.g., “globalname 7787 ”), and with the understanding that each machine relates the global name to a specific local name or object (e.g., “globalname 7787 ” corresponds to object “localobject 456 ” on machine M 1 , and “globalname 7787 ” corresponds to object “localobject 885 ” on machine M 2 , and “globalname 7787 ” corresponds to object “localobject 111 ” on machine M 3 , and so forth).
- a global name corresponding to the plurality of similar equivalent objects on each machine e.g., “globalname 7787 ”
- each machine relates the global name to a specific local name or object (e.g., “globalname 7787 ” corresponds to object “localobject 456 ” on machine M 1 , and “globalname 7787 ” corresponds to object “localobject 885 ”
- memory locations include, for example, both fields and array types.
- the above description deals with fields and the changes required for array types are essentially the same mutatis mutandis.
- the present invention is equally applicable to similar programming languages (including procedural, declarative and object orientated) to JAVA including Micrsoft.NET platform and architecture (Visual Basic, Visual C/C ++ , and C#) FORTRAN, C/C ++ , COBOL, BASIC etc.
- the abovementioned arrangement, in which the JAVA code which updates memory locations or field values is modified, is based on the assumption that either the runtime system (say, JAVA HOTSPOT VIRTUAL MACHINE written in C and Java) or the operating system (LINUX written in C and Assembler, for example) of each machine M 1 . . . Mn will ordinarily update memory on the local machine (say M 2 ) but not on any corresponding other machines (M 1 , M 3 . . . Mn). It is possible to leave the JAVA code which updates memory locations or field values unamended and instead amend the LINUX or HOTSPOT routine which updates memory locally, so that it correspondingly updates memory on all other machines as well.
- the term “updating propagation routine” used herein in conjunction with maintaining the memory of all machines M 1 . . . Mn essentially the same, is to be understood to include within its scope both the JAVA putfield and putstatic instructions and related operations and the “combination” of the JAVA putfield and putstatic operations and the LINUX or HOTSPOT code fragments which perform memory updating.
- the abovementioned embodiment in which the code of the JAVA initialisation routine is modified is based upon the assumption that either the run time system (say, JAVA HOTSPOT VIRTUAL MACHINE written in C and JAVA) or the operating system (LINUX written in C and Assembler, for example) of each machine M 1 . . . Mn will call the JAVA initialisation routine. It is possible to leave the JAVA initialisation routine unamended and instead amend the LINUX or HOTSPOT routine which calls the JAVA initialisation routine, so that if the object or class is already loaded, then the JAVA initialisation routine is not called.
- the run time system say, JAVA HOTSPOT VIRTUAL MACHINE written in C and JAVA
- LINUX written in C and Assembler, for example
- initialisation routine is to be understood to include within its scope both the JAVA initialisation routine and the “combination” of the JAVA initialisation routine and the LINUX or HOTSPOT code fragments which call or initiates the JAVA initialisation routine.
- object and class used herein are derived from the JAVA environment and are intended to embrace similar terms derived from different environments such as dynamically linked libraries (DLL), or object code packages, or function unit or memory locations.
- DLL dynamically linked libraries
- any one or each of these various means may be implemented by computer program code statements or instructions (possibly including by a plurality of computer program code statements or instructions) that execute within computer logic circuits, processors, ASICs, microprocessors, microcontrollers, or other logic to modify the operation of such logic or circuits to accomplish the recited operation or function.
- any one or each of these various means may be implemented in firmware and in other embodiments such may be implemented in hardware.
- any one or each of these various means may be implemented by an combination of computer program software, firmware, and/or hardware.
- any and each of the aforedescribed methods, procedures, and/or routines may advantageously be implemented as a computer program and/or computer program product stored on any tangible media or existing in electronic, signal, or digital form.
- Such computer program or computer program products comprising instructions separately and/or organized as modules, programs, subroutines, or in any other way for execution in processing logic such as in a processor or microprocessor of a computer, computing machine, or information appliance; the computer program or computer program products modifying the operation of the computer on which it executes or on a computer coupled with, connected to, or otherwise in signal communications with the computer on which the computer program or computer program product is present or executing.
- Such computer program or computer program product modifying the operation and architectural structure of the computer, computing machine, and/or information appliance to alter the technical operation of the computer and realize the technical effects described herein.
- the invention may therefore includes a computer program product comprising a set of program instructions stored in a storage medium or exiting electronically in any form and operable to permit a plurality of computers to carry out any of the methods, procedures, routines, or the like as described herein including in any of the claims.
- the invention may include a plurality of computers interconnected via a communication network or other communications ink or path and each operable to substantially simultaneously or concurrently execute the same or a different portion of an application program code written to operate on only a single computer on a corresponding different one of computers, wherein the computers being programmed to carry out any of the methods, procedures, or routines described in the specification or set forth in any of the claims, or being loaded with a computer program product.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention discloses a modified computer architecture which (50, 71, 72) enables an applications program (50) to be run simultaneously on a plurality of computers (M1, . . . Mn). Shared memory at each computer is updated with amendments and/or overwrites so that all memory read requests are satisfied locally. During initial program loading (75), or similar, instructions which result in memory being re-written or manipulated are identified (92). Additional instructions are inserted (103) to cause the equivalent memory locations at all computers to be updated. In particular, the initialisation of JAVA language classes and objects is disclosed (162, 163) so all memory locations for all computers are initialized in the same manner.
Description
- This application is a continuation application and claims the benefit of priority of U.S. patent application Ser. No. 11/259,744, filed Oct. 25, 2005, entitled “COMPUTER ARCHITECTURE AND METHOD OF OPERATION FOR MULTI-COMPUTER DISTRIBUTED PROCESSING WITH INITIALIZATION OF OBJECTS”, which is hereby incorporated by this reference.
- This application claims the benefit of priority under ore or more of 35 U.S.C. 119 and/or 35 U.S.C. 120 to the following Australian Patent Applications, U.S. Utility patent applications and PCT International Patent Applications, each of which is also a related application and each is incorporated herein by reference in its entirety:
- U.S. patent application Ser. No. 11/259,634 filed 25 Oct. 2005 entitled “Computer Architecture And Method Of Operation For Multi-Computer Distributed Processing With Replicated Memory”;
- U.S. patent application Ser. No. 11/259,744 filed 25 Oct. 2005 entitled “Computer Architecture And Method Of Operation For Multi-Computer Distributed Processing With Initialization Of Objects”;
- U.S. patent application Ser. No. 11/259,762 filed 25 Oct. 2005 entitled “Computer Architecture And Method Of Operation For Multi-Computer Distributed Processing With Finalization Of Objects”;
- U.S. patent application Ser. No. 11/259,761 filed 25 Oct. 2005 entitled “Computer Architecture And Method Of Operation For Multi-Computer Distributed Processing With Synchronization”;
- U.S. patent application Ser. No. 11/259,895 filed 25 Oct. 2005 entitled “Computer Architecture And Method Of Operation For Multi-Computer Distributed Processing And Coordinated Memory And Asset Handling”;
- Australian Provisional Patent Application No. 2005 902 023 filed 21 Apr. 2005 entitled “Multiple Computer Architecture with Replicated Memory Fields”;
- Australian Provisional Patent Application No. 2005 902 024 filed 21 Apr. 2005 entitled “Modified Computer Architecture with Initialization of Objects”; Australian Provisional Patent Application No. 2005 902 025 filed 21 Apr. 2005 entitled “Modified Computer Architecture with Finalization of Objects”;
- Australian Provisional Patent Application No. 2005 902 026 filed 21 Apr. 2005 entitled “Modified Computer Architecture with Synchronization of Objects”;
- Australian Provisional Patent Application No. 2004 902 027 filed 21 Apr. 2005 entitled “Modified Computer Architecture with Coordinated Objects”;
- U.S. patent application Ser. No. 11/111,757 filed 22 Apr. 2005 entitled “Multiple Computer Architecture with Replicated Memory Fields”;
- U.S. patent application Ser. No. 11/111,781 filed 22 Apr. 2005 entitled “Modified Computer Architecture with Initialization of Objects”;
- U.S. patent application Ser. No. 11/111,778 filed 22 Apr. 2005 entitled “Modified Computer Architecture with Finalization of Objects”;
- U.S. patent application Ser. No. 11/111,779 filed 22 Apr. 2005 entitled “Modified Computer Architecture with Synchronization of Objects”;
- U.S. patent application Ser. No. 11/111,946 filed 22 Apr. 2005 entitled “Modified Computer Architecture with Coordinated Objects”;
- PCT International Application No. PCT/AU05/000/5B2 filed 22 Apr. 2005 entitled “Multiple Computer Architecture with Replicated Memory Fields”;
- PCT International Application No. PCT/AU05/000/578 filed 22 Apr. 2005 entitled “Modified Computer Architecture with Initialization of Objects”;
- PCT International Application No. PCT/AU05/000/581 filed 22 Apr. 2005 entitled “Modified Computer Architecture with Finalization of Objects”;
- PCT International Application No. PCT/AU05/000/579 filed 22 Apr. 2005 entitled “Modified Computer Architecture with Synchronization of Objects”; and
- PCT International Application No. PCT/AU05/000/580 filed 22 Apr. 2005 entitled “Modified Computer Architecture with Coordinated Objects”.
- A further related patent application that is hereby incorporated by reference is U.S. patent application Ser. No. 10/830,042 filed 23 Apr. 2004 entitled “Modified Computer Architecture”.
- The present invention relates to computers and other computing machines and information appliances, in particular, to a modified computer architecture and program structure which enables the operation of an application program concurrently or simultaneously on a plurality of computers interconnected via a communications link using a distributed runtime and enables improved performance to be achieved.
- Ever since the advent of computers, and computing, software for computers has been written to be operated upon a single machine. As indicated in
FIG. 1 , that singleprior art machine 1 is made up from a central processing unit, or CPU, 2 which is connected to amemory 3 via abus 4. Also connected to thebus 4 are various other functional units of thesingle machine 1 such as a screen 5,keyboard 6 andmouse 7. - A fundamental limit to the performance of the
machine 1 is that the data to be manipulated by theCPU 2, and the results of those manipulations, must be moved by thebus 4. Thebus 4 suffers from a number of problems including so called bus “queues” formed by units wishing to gain an access to the bus, contention problems, and the like. These problems can, to some extent, be alleviated by various stratagems including cache memory, however, such stratagems invariably increase the administrative overhead of themachine 1. - Naturally, over the years various attempts have been made to increase machine performance. One approach is to use symmetric multi-processors. This prior art approach has been used in so called “super” computers and is schematically indicated in
FIG. 2 . Here a plurality of CPU's 12 are connected toglobal memory 13. Again, a bottleneck arises in the communications between the CPU's 12 and thememory 13. This process has been termed “Single System Image”. There is only one application and one whole copy of the memory for the application which is distributed over the global memory. The single application can read from and write to, (i.e. share) any memory location completely transparently. - Where there are a number of such machines interconnected via a network, this is achieved by taking the single application written for a single machine and partitioning the required memory resources into parts. These parts are then distributed across a number of computers to form the
global memory 13 accessible by all CPU's 12. This procedure relies on masking, or hiding, the memory partition from the single running application program. The performance degrades when one CPU on one machine must access (via a network) a memory location physically located in a different machine. - Although super computers have been technically successful in achieving high computational rates, they are not commercially successful in that their inherent complexity makes them extremely expensive not only to manufacture but to administer. In particular, the single system image concept has never been able to scale over “commodity” (or mass produced) computers and networks. In particular, the Single System Image concept has only found practical application on very fast (and hence very expensive) computers interconnected by very fast (and similarly expensive) networks.
- A further possibility of increased computer power through the use of a plural number of machines arises from the prior art concept of distributed computing which is schematically illustrated in
FIG. 3 . In this known arrangement, a single application program (Ap) is partitioned by its author (or another programmer who has become familiar with the application program) into various discrete tasks so as to run upon, say, three machines in which case n inFIG. 3 is theinteger 3. The intention here is that each of the machines M1 . . . M3 runs a different third of the entire application and the intention is that the loads applied to the various machines be approximately equal. The machines communicate via anetwork 14 which can be provided in various forms such as a communications link, the internet, intranets, local area networks, and the like. Typically the speed of operation ofsuch networks 14 is an order of magnitude slower than the speed of operation of thebus 4 in each of the individual machines M1, M2, . . . , Mn. - Distributed computing suffers from a number of disadvantages. Firstly, it is a difficult job to partition the application and this must be done manually. Secondly, communicating data, partial results, results and the like over the
network 14 is an administrative overhead. Thirdly, the need for partitioning makes it extremely difficult to scale upwardly by utilising more machines since the application having been partitioned into, say three, does not run well upon four machines. Fourthly, in the event that one of the machines should become disabled, the overall performance of the entire system is substantially degraded. - A further prior art arrangement is known as network computing via “clusters” as is schematically illustrated in
FIG. 4 . In this approach, the entire application is loaded onto each of the machines M1, M2, . . . , Mn. Each machine communicates with a common database but does not communicate directly with the other machines. Although each machine runs the same application, each machine is doing a different “job” and uses only its own memory. This is somewhat analogous to a number of windows each of which sell train tickets to the public. This approach does operate, is scalable and mainly suffers from the disadvantage that it is difficult to administer the network. - In computer languages such as for example JAVA and MICROSOFT.NET there are two major types of constructs with which programmers deal. In the JAVA language these are known as objects and classes. More generally they may be referred to as assets. Every time an object (or other asset) is created there is an initialization routine run known as an object initialization (e.g., “<init>”) routine. Similarly, every time a class is loaded there is a class initialization routine known as “<clinit>”. Other languages use different terms but utilize a similar concept. In either case, however, there is no equivalent “clean up” or deletion routine to delete an object or class (or other asset) once it is no longer required. Instead, this “clean up” happens unobtrusively in a background mode.
- Furthermore, in any computer environment it is necessary to acquire and release a lock to enable the use of such objects, classes, assets, resources or structures to avoid different parts of the application program from attempting to use the same objects, classes, assets, resources or structures at the one time. In the JAVA environment this is known as synchronization. Synchronization more generally refers to the exclusive use of an object, class, resource, structure, or other asset to avoid contention between and among computers or machines. This is achieved in JAVA by the “monitor enter” and “monitor exit” instructions or routines. Other languages use different terms but utilize a similar concept.
- Unfortunately, conventional computing systems, architectures, and operating schemes do not provide for computing environments and methods in which an application program can operate simultaneously on an arbitrary plurality of computers where the environment and operating scheme ensure that the abovementioned memory management, initialization, clean up and synchronization procedures operate in a consistent and coordinated fashion across all the computing machines.
- The present invention discloses a computing environment in which an application program operates simultaneously on a plurality of computers. In such an environment it is advantageous to ensure that the abovementioned asset initialization, clean-up and synchronization procedures operate in a consistent and coordinated fashion across all the machines.
- The present invention further discloses a computing environment in which an application program operates simultaneously on a plurality of computers. In such an environment it is advantageous to ensure that the abovementioned initialization routines operate in a consistent fashion across all the machines. It is this goal of consistent initialization that is the genesis of the present invention.
- In accordance with a first aspect of the present invention there is disclosed a multiple computer system having at least one application program each written to operate on only a single computer but running simultaneously on a plurality of computers interconnected by a communications network, wherein different portions of said application program(s) execute substantially simultaneously on different ones of said computers and for each said portion a like plurality of substantially identical objects are created, each in the corresponding computer and each having a substantially identical name, and wherein the initial contents of each of said identically named objects is substantially the same.
- In accordance with a second aspect of the present invention there is disclosed a plurality of computers interconnected via a communications link and simultaneously operating at least one application program each written to operation on only a single computer wherein each said computer substantially simultaneously executes a different portion of said application program(s), each said computer in operating its application program portion creates objects only in local memory physically located in each said computer, the contents of the local memory utilized by each said computer are fundamentally similar but not, at each instant, identical, and every one of said computers has distribution update means to distribute to all other said computers objects created by said one computer.
- In accordance with a third aspect of the present invention there is disclosed a method of running simultaneously on a plurality of computers at least one application program each written to operate on only a single computer, said computers being interconnected by means of a communications network, said method comprising the steps of: (i) executing different portions of said application program(s) on different ones of said computers and for each said portion creating a like plurality of substantially identical objects each in the corresponding computer and each having a substantially identical name, and (ii) creating the initial contents of each of said identically named objects substantially the same.
- In accordance with a fourth aspect of the present invention there is disclosed a method of compiling or modifying an application program written to operate on only a single computer to have different portions thereof to execute substantially simultaneously on different ones of a plurality of computers interconnected via a communications link, said method comprising the steps of: (i) detecting instructions which create objects utilizing one of said computers, (ii) activating an initialization routine following each said detected object creation instruction, said initialization routine forwarding each created object to the remainder of said computers.
- In accordance with a fifth aspect of the present invention there is disclosed a multiple thread processing computer operation in which individual threads of a single application program written to operate on only a single computer are simultaneously being processed each on a different corresponding one of a plurality of computers interconnected via a communications link, the improvement comprising communicating objects created in local memory physically associated with the computer processing each thread to the local memory of each other said computer via said communications link.
- In accordance with a sixth aspect of the present invention there is disclosed a method of ensuring consistent initialization of an application program written to operate on only a single computer but different portions of which are to be executed simultaneously each on a different one of a plurality of computers interconnected via a communications network, said method comprising the steps of: (i) scrutinizing or analysing said application program at, or prior to, or after loading to detect each program step defining an initialization routine, and (ii) modifying said initialization routine to ensure consistent operation of all said computers.
- In accordance with a twenty-sixth aspect of the present invention there is disclosed a computer program product comprising a set of program instructions stored in a storage medium and operable to permit a plurality of computers to carry out the abovementioned methods.
- In accordance with a twenty-seventh aspect of the invention there is disclosed a distributed run time and distributed run time system adapted to enable communications between a plurality of computers, computing machines, or information appliances.
- In accordance with a twenty-eighth aspect of the invention there is disclosed a modifier, modifier means, and modifier routine for modifying an application program written to execute on a single computer or computing machine at a time to execute simultaneously on a plurality of networked computers or computing machines, distributed run time and distributed run time system adapted to enable communications between a plurality of computers, computing machines, or information appliances.
- In accordance with a twenty-ninth aspect of the present invention there is disclosed a computer program and computer program product written to operate on only a single computer but product comprising a set of program instructions stored in a storage medium and operable to permit a plurality of computers to carry out the abovementioned procedures, routines, and methods.
- Embodiments of the present invention are now described with reference to the drawings in which:
-
FIG. 1 is a schematic view of the internal architecture of a conventional computer; -
FIG. 2 is a schematic illustration showing the internal architecture of known symmetric multiple processors; -
FIG. 3 is a schematic representation of prior art distributed computing; -
FIG. 4 is a schematic representation of a prior art network computing using clusters; -
FIG. 5 is a schematic block diagram of a plurality of machines operating the same application program in accordance with a first embodiment of the present invention; -
FIG. 6 is a schematic illustration of a prior art computer arranged to operate JAVA code and thereby constitute a JAVA virtual machine; -
FIG. 7 is a drawing similar toFIG. 6 but illustrating the initial loading of code in accordance with the preferred embodiment; -
FIG. 8 is a drawing similar toFIG. 5 but illustrating the interconnection of a plurality of computers each operating JAVA code in the manner illustrated inFIG. 7 ; -
FIG. 9 is a flow chart of the procedure followed during loading of the same application on each machine in the network; -
FIG. 10 is a flow chart showing a modified procedure similar to that ofFIG. 9 ; -
FIG. 11 is a schematic representation of multiple thread processing carried out on the machines ofFIG. 8 utilizing a first embodiment of memory updating; -
FIG. 12 is a schematic representation similar toFIG. 11 but illustrating an alternative embodiment; -
FIG. 13 illustrates multi-thread memory updating for the computers ofFIG. 8 ; -
FIG. 14 is a schematic illustration of a prior art computer arranged to operate in JAVA code and thereby constitute a JAVA virtual machine; -
FIG. 15 is a schematic representation of n machines running the application program and serviced by an additional server machine X; -
FIG. 16 is a flow chart of illustrating the modification of initialization routines; -
FIG. 17 is a flow chart illustrating the continuation or abortion of initialization routines; -
FIG. 18 is a flow chart illustrating the enquiry sent to the server machine X; -
FIG. 19 is a flow chart of the response of the server machine X to the request ofFIG. 18 ; -
FIG. 20 is a flowchart illustrating a modified initialization routine for the class initialization <clinit> instruction: -
FIG. 21 is a flowchart illustrating a modified initialization routine for the object initialization <init> instruction; -
FIG. 22 is a schematic representation of two laptop computers interconnected to simultaneously run a plurality of applications, with both applications running on a single computer; -
FIG. 23 is a view similar toFIG. 22 but showing theFIG. 22 apparatus with one application operating on each computer; and -
FIG. 24 is a view similar toFIGS. 22 and 23 but showing theFIG. 22 apparatus with both applications operating simultaneously on both computers. - The specification includes Annexures A and B which provide actual program fragments which implement various aspects of the described embodiments. Annexure A relates to fields and Annexure B relates to initialization.
- Although the specification provides a complete and detailed description of the several embodiments of the invention such that the invention may be understood and implemented without reference to other materials, the specification does includes Annexures A and B which provide exemplary actual program or code fragments which implement various aspects of the described embodiments. Although aspects of the invention are described throughout the specification including the Annexes, drawings, and claims, it may be appreciated that Annexure A relates primarily to fields, and Annexure B relates primarily to initialization.
- More particularly, the accompanying Annexures are provided in which:
- Annexures A1-A10 illustrate exemplary code to illustrate embodiments of the invention in relation to fields.
- Annexure B1 is an exemplary typical code fragment from an unmodified class initialization <clinit> instruction, Annexure B2 is an equivalent in respect of a modified class initialization <clinit> instruction. Annexure B3 is a typical code fragment from an unmodified object initialization <init> instruction. Annexure B4 is an equivalent in respect of a modified object initialization <init> instruction. In addition, Annexure B5 is an alternative to the code of Annexure B2 for an unmodified class initialization instruction, and Annexure B6 is an alternative to the code of Annexure B4 for a modified object initialization <init> instruction. Furthermore, Annexure B7 is exemplary computer program source-code of InitClient, which queries an “initialization server” for the initialization status of the relevant class or object. Annexure B8 is the computer program source-code of InitServer, which receives an initialization status query by InitClient and in response returns the corresponding status. Similarly, Annexure B9 is the computer program source-code of the example application used in the before/after examples of Annexure B1-B6.
- It will be appreciated in light of the description provided here that the categorization of the Annexures as well as the use of other headings and subheadings in this description is intended as an aid to the reader and is not to be used to limit the scope of the invention in any way.
- The present invention discloses a modified computer architecture which enables an applications program to be run simultaneously on a plurality of computers in a manner that overcomes the limitations of the aforedescribed conventional architectures, systems, methods, and computer programs.
- In one aspect, shared memory at each computer may be updated with amendments and/or overwrites so that all memory read requests are satisfied locally. Before, during or after program loading, but before execution of relevant portions of the program code are executed, or similar, instructions which result in memory being re-written or manipulated are identified. Additional instructions are inserted into the program code (or other modification made) to cause the equivalent memory locations at all computers to be updated. While the invention is not limited to JAVA language or virtual machines, exemplary embodiments are described relative to the JAVA language and standards.
- In another aspect, the initialization of JAVA language classes and objects (or other assets) are provided for so all memory locations for all computers are initialized in the same manner. In another aspect, the finalization of JAVA language classes and objects is also provide so finalization only occurs when the last class or object present on all machines is no longer required. In still another aspect, synchronization is provided such that instructions which result in the application program acquiring (or releasing) a lock on a particular asset (synchronization) are identified. Additional instructions are inserted (or other code modifications performed) to result in a modified synchronization routine with which all computers are updated.
- As will become more apparent in light of the further description provided herein, one of the features of the invention is to make it appear that one common application program or application code and its executable version (with likely modification) is simultaneously or concurrently executing across a plurality of computers or machines M1, . . . , Mn. As will be described in considerable detail hereinafter, the instant invention achieves this by running the same application program (for example, Microsoft Word or Adobe Photoshop CS2) on each machine, but modifying the executable code of that application program on each machine as necessary such that each executing instance (‘copy’) on each machine coordinates its local operations on any particular machine with the operations of the respective instances on the other machines such that they all function together in a consistent, coherent and coordinated manner and give the appearance of being one global instance of the application (i.e., a “meta-application”).
- In accordance with embodiments of the present invention a single application code 50 (sometimes more informally referred to as the application or the application program) can be operated simultaneously on a number of machines M1, M2 . . . Mn interconnected via a communications network or other communications link or
path 53. The communications network or path may be any electronic signaling, data, or digital communications network or path and may advantageously be a relatively slow speed communications path, such as a network connection over the Internet or any common networking configurations known or available as of the date or this applications, and extensions and improvements, thereto. - By way of example but not limitation, one application code or
program 50 may be a single application on the machines, such as Microsoft Word, as opposed to different applications on each machine, such as Microsoft Word on machine M1, and Microsoft PowerPoint on machine M2, and Netscape Navigator on machine M3 and so forth. Therefore the terminology “one” application code or program and a “common” application code or program is used to try and capture this situation where all machines M1, . . . , Mn are operating or executing the same program or code and not different (and unrelated) programs. In other words copies or replicas of same or substantially the same application code is loaded onto each of the interoperating and connected machines or computers. As the characteristics of each machine or computer may differ, theapplication code 50 may be modified before loading, during the loading process, and with some restrictions after the loading process to provide a customization or modification of the code on each machine. Some dissimilarity between the programs may be permitted so long as the other requirements for interoperability, consistency, and coherency as described herein can be maintain. As it will become apparent hereafter, each of the machines M1, M2 . . . Mn operates with thesame application code 50 on each machine M1, M2 . . . Mn and thus all of the machines M1, M2, . . . , Mn have the same or substantially thesame application code 50 usually with a modification that may be machine specific. - Similarly, each of the machines M1, M2, . . . , Mn operates with the same (or substantially the same or similar) modifier 51 (in some embodiments implemented as a distributed run time or DRT 71) on each machine M1, M2, . . . , Mn and thus all of the machines M1, M2 . . . Mn have the same (or substantially the same or similar) modifier 51 for each modification required. Different modification for example may be required for memory management and replication, initialization, finalization, and/or synchronization (though not all of these modification types may be required for all embodiments).
- In addition, during the loading of, or at any time preceding the execution of, the application code 50 (or relevant portion thereof) on each machine M1, M2 . . . Mn, each
application code 50 has been modified by the corresponding modifier 51 according to the same rules (or substantially the same rules since minor optimizing changes are permitted within each modifier 51/1, 51/2, . . . , 51/n). - With reference to any initialisation modifier that may be present, such initialisation modifier 51-I or DRT 71-I or other code modifying means component of the overall modifier or distributed run time means is responsible for modifying the
application code 50 so that it may execute initialisation routines or other initialization operations, such as for example class and object initialization methods or routines in the JAVA language and virtual machine environment, in a coordinated, coherent, and consistent manner across the plurality of individual machines M1, M2 . . . Mn - These structures and procedures when applied in combination when required, maintain a computing environment where memory locations, address ranges, objects, classes, assets, resources, or any other procedural or structural aspect of a computer or computing environment are where required created, maintained, operated, and deactivated or deleted in a coordinated, coherent, and consistent manner across the plurality of individual machines M1, M2 . . . Mn.
- Attention is now directed to the particulars of several aspects of the invention that may be utilised alone or in any combination.
- In connection with
FIG. 5 , in accordance with a preferred embodiment of the present invention a single application code 50 (sometimes more informally referred to as the application or the application program) can be operated simultaneously on a number of machines M1, M2 . . . Mn interconnected via a communications network or other communications link orpath 53. By way of example but not limitation, one application code orprogram 50 would be a single common application program on the machines, such as Microsoft Word, as opposed to different applications on each machine, such as Microsoft Word on machine M1, and Microsoft PowerPoint on machine M2, and Netscape Navigator on machine M3 and so forth. Therefore the terminology “one”, “single”, and “common” application code or program is used to try and capture this situation where all machines M1, . . . , Mn are operating or executing the same program or code and not different (and unrelated) programs. In other words copies or replicas of same or substantially the same application code is loaded onto each of the interoperating and connected machines or computers. As the characteristics of each machine or computer may differ, theapplication code 50 may be modified before loading, during the loading process, or after the loading process to provide a customization or modification of the code on each machine. Some dissimilarity between the programs may be permitted so long as the other requirements for interoperability, consistency, and coherency as described herein can be maintain. As it will become apparent hereafter, each of the machines M1, M2 . . . Mn operates with thesame application code 50 on each machine M1, M2 . . . Mn and thus all of the machines M1, M2, . . . , Mn have the same or substantially thesame application code 50 usually with a modification that may be machine specific. - Similarly, each of the machines M1, M2, . . . , Mn operates with the same (or substantially the same or similar) modifier 51 on each machine M1, M2 . . . , Mn and thus all of the machines M1, M2 . . . Mn have the same (or substantially the same or similar) modifier 51 with the modifier of machine M1 being designated 51/1 and the modifier of machine M2 being designated 51/2, etc. In addition, before or during the loading of, or preceding the execution of, or even after execution has commenced, the
application code 50 on each machine M1, M2 . . . Mn is modified by the corresponding modifier 51 according to the same rules (or substantially the same rules since minor optimizing changes are permitted within each modifier 51/1, 51/2, . . . , 51/n). - As will become more apparent in light of the further description provided herein, one of the features of the invention is to make it appear that one application program instance of
application code 50 is executing simultaneously across all of the plurality of machines M1, M2, . . . , Mn. As will be described in considerable detail hereinafter, the instant invention achieves this by running the same application program code (for example, Microsoft Word or Adobe Photoshop CS2) on each machine, but modifying the executable code of that application program on each machine such that each executing occurrence (or ‘local instance’) on each one of the machines M1 . . . Mn coordinates its local operations with the operations of the respective occurrences on each one of the other machines such that each occurrence on each one of the plurality of machines function together in a consistent, coherent and coordinated manner so as to give the appearance of being one global instance (or occurrence) of the application program and program code (i.e., a “meta-application”). - As a consequence of the above described arrangement, if each of the machines M1, M2, . . . , Mn has, say, an internal memory capability of 10 MB, then the total memory available to each
application code 50 is not necessarily, as one might expect the number of machines (n) times 10 MB, or alternatively the additive combination of the internal memory capability of all n machines, but rather or still may only be 10 MB. In the situation where the internal memory capacities of the machines are different, which is permissible, then in the case where the internal memory in one machine is smaller than the internal memory capability of at least one other of the machines, then the size of the smallest memory of any of the machines may be used as the maximum memory capacity of the machines when such memory (or a portion thereof) is to be treated as a ‘common’ memory (i.e. similar equivalent memory on each of the machines M1 . . . Mn) or otherwise used to execute the common application code. - However, even though the manner that the internal memory of each machine is treated may initially appear to be a possible constraint on performance, how this results in improved operation and performance will become apparent hereafter. Naturally, each machine M1, M2 . . . Mn has an private (i.e. ‘non-common’) internal memory capability. The private internal memory capability of the machines M1, M2, . . . , Mn are normally approximately equal but need not be. It may also be advantageous to select the amounts of internal memory in each machine to achieve a desired performance level in each machine and across a constellation or network of connected or coupled plurality of machines, computers, or information appliances M1, M2, . . . , Mn. Having described these internal and common memory considerations, it will be apparent in light of the description provided herein that the amount of memory that can be common between machines is not a limitation of the invention.
- It is known from the prior art to operate a single computer or machine (produced by one of various manufacturers and having an operating system operating in one of various different languages) in a particular language of the application, by creating a virtual machine as schematically illustrated in
FIG. 6 . The code and data and virtual machine configuration or arrangement ofFIG. 6 takes the form of theapplication code 50 written in the Java language and executing within a JavaVirtual Machine 61. Thus, where the intended language of the application is the language JAVA, a JAVA virtual machine is used which is able to operate code in JAVA irrespective of the machine manufacturer and internal details of the machine. For further details see “The JAVA Virtual Machine Specification” 2nd Edition by T. Lindholm & F. Yellin of Sun Microsystems Inc. of the USA, which is incorporated by reference herein. - This conventional art arrangement of
FIG. 6 is modified in accordance with embodiments of the present invention by the provision of an additional facility which is conveniently termed “distributed run time” or “distributed run time system”DRT 71 and as seen inFIG. 7 . - In
FIG. 7 , theapplication code 50 is loaded onto the JavaVirtual Machine 72 in cooperation with the distributedruntime system 71, through the loading procedure indicated byarrow 75. As used herein the terms distributed runtime and the distributed run time system are essentially synonymous, and by means of illustration but not limitation are generally understood to include library code and processes which support software written in a particular language running on a particular platform. Additionally, a distributed runtime system may also include library code and processes which support software written in a particular language running within a particular distributed computing environment. The runtime system typically deals with the details of the interface between the program and the operation system such as system calls, program start-up and termination, and memory management. For purposes of background, a conventional Distributed Computing Environment (DCE) that does not provide the capabilities of the inventive distributed run time or distributedrun time system 71 required in the invention is available from the Open Software Foundation. This Distributed Computing Environment (DCE) performs a form of computer-to-computer communication for software running on the machines, but among its many limitations, it is not able to implement the modification or communication operations of this invention. Among its functions and operations, theinventive DRT 71 coordinates the particular communications between the plurality of machines M1, M2, . . . , Mn. Moreover, the inventive distributedruntime 71 comes into operation during the loading procedure indicated byarrow 75 of theJAVA application 50 on each JAVAvirtual machine 72 ofmachines JVM# 1,JVM# 2, . . . JVM#n. The sequence of operations during loading will be described hereafter in relation toFIG. 9 . It will be appreciated in light of the description provided herein that although many examples and descriptions are provided relative to the JAVA language and JAVA virtual machines so that the reader may get the benefit of specific examples, the invention is not restricted to either the JAVA language or JAVA virtual machines, or to any other language, virtual machine, machine, or operating environment. -
FIG. 8 shows in modified form the arrangement ofFIG. 5 utilising JAVA virtual machines, each as illustrated inFIG. 7 . It will be apparent that again thesame application code 50 is loaded onto each machine M1, M2 . . . Mn. However, the communications between each machine M1, M2, . . . , Mn, and indicated byarrows 83, although physically routed through the machine hardware, are advantageously controlled by the individual DRT's 71/1 . . . 71/n within each machine. Thus, in practice this may be conceptionalised as the DRT's 71/1, . . . , 71/n communicating with each other via the network or other communications link 73 rather than the machines M1, M2, . . . , Mn communicating directly with themselves or each other. Actually, the invention contemplates and included either this direct communication between machines M1, M2, . . . , Mn orDRTs 71/1, 71/2, . . . , 71/n or a combination of such communications. Theinventive DRT 71 provides communication that is transport, protocol, and link independent. - It will be appreciated in light of the description provided herein that there are alternative implementations of the modifier 51 and the distributed
run time 71. For example, the modifier 51 may be implemented as a component of or within the distributedrun time 71, and therefore theDRT 71 may implement the functions and operations of the modifier 51. Alternatively, the function and operation of the modifier 51 may be implemented outside of the structure, software, firmware, or other means used to implement theDRT 71. In one embodiment, the modifier 51 andDRT 71 are implemented or written in a single piece of computer program code that provides the functions of the DRT and modifier. The modifier function and structure therefore maybe subsumed into the DRT and considered to be an optional component. Independent of how implemented, the modifier function and structure is responsible for modifying the executable code of the application code program, and the distributed run time function and structure is responsible for implementing communications between and among the computers or machines. The communications functionality in one embodiment is implemented via an intermediary protocol layer within the computer program code of the DRT on each machine. The DRT may for example implement a communications stack in the JAVA language and use the Transmission Control Protocol/Internet Protocol (TCP/IP) to provide for communications or talking between the machines. Exactly how these functions or operations are implemented or divided between structural and/or procedural elements, or between computer program code or data structures within the invention are less important than that they are provided. - However, in the arrangement illustrated in
FIG. 8 , (and also inFIGS. 31-32 ), a plurality of individual computers or machines M1, M2, . . . Mn are provided, each of which are interconnected via acommunications network 53 or other communications link and each of which individual computers or machines provided with a modifier 51 (See inFIG. 5 ) and realised by or in for example the distributed run time (DRT) 71 (SeeFIG. 8 ) and loaded with acommon application code 50. The term common application program is to be understood to mean an application program or application program code written to operate on a single machine, and loaded and/or executed in whole or in part on each one of the plurality of computers or machines M1, M2 . . . Mn, or optionally on each one of some subset of the plurality of computers or machines M1, M2 . . . Mn. Put somewhat differently, there is a common application program represented inapplication code 50, and this single copy or perhaps a plurality of identical copies are modified to generate a modified copy or version of the application program or program code, each copy or instance prepared for execution on the plurality of machines. At the point after they are modified they are common in the sense that they perform similar operations and operate consistently and coherently with each other. It will be appreciated that a plurality of computers, machines, information appliances, or the like implementing the features of the invention may optionally be connected to or coupled with other computers, machines, information appliances, or the like that do not implement the features of the invention. - Essentially in at least one embodiment the modifier 51 or
DRT 71 or other code modifying means is responsible for modifying theapplication code 50 so that it may execute memory manipulation operations, such as memory putstatic and putfield instructions in the JAVA language and virtual machine environment, in a coordinated, consistent, and coherent manner across and between the plurality of individual machines M1 . . . Mn. It follows therefore that in such a computing environment it is necessary to ensure that each of memory location is manipulated in a consistent fashion (with respect to the others). - In some embodiments, some or all of the plurality of individual computers or machines may be contained within a single housing or chassis (such as so-called “blade servers” manufactured by Hewlett-Packard Development Company, Intel Corporation, IBM Corporation and others) or implemented on a single printed circuit board or even within a single chip or chip set.
- A machine (produced by any one of various manufacturers and having an operating system operating in any one of various different languages) can operate in the particular language of the
application program code 50, in this instance the JAVA language. That is, a JAVAvirtual machine 72 is able to operateapplication code 50 in the JAVA language, and utilize the JAVA architecture irrespective of the machine manufacturer and the internal details of the machine. - When implemented in a non-JAVA language or application code environment, the generalized platform, and/or virtual machine and/or machine and/or runtime system is able to operate
application code 50 in the language(s) (possibly including for example, but not limited to any one or more of source-code languages, intermediate-code languages, object-code languages, machine-code languages, and any other code languages) of that platform, and/or virtual machine and/or machine and/or runtime system environment, and utilize the platform, and/or virtual machine and/or machine and/or runtime system and/or language architecture irrespective of the machine manufacturer and the internal details of the machine. It will also be appreciated in light of the description provided herein that platform and/or runtime system may include virtual machine and non-virtual machine software and/or firmware architectures, as well as hardware and direct hardware coded applications and implementations. - For a more general set of virtual machine or abstract machine environments, and for current and future computers and/or computing machines and/or information appliances or processing systems, and that may not utilize or require utilization of either classes and/or objects, the inventive structure, method, and computer program and computer program product are still applicable. Examples of computers and/or computing machines that do not utilize either classes and/or objects include for example, the x86 computer architecture manufactured by Intel Corporation and others, the SPARC computer architecture manufactured by Sun Microsystems, Inc and others, the PowerPC computer architecture manufactured by International Business Machines Corporation and others, and the personal computer products made by Apple Computer, Inc., and others. For these types of computers, computing machines, information appliances, and the virtual machine or virtual computing environments implemented thereon that do not utilize the idea of classes or objects, may be generalized for example to include primitive data types (such as integer data types, floating point data types, long data types, double data types, string data types, character data types and Boolean data types), structured data types (such as arrays and records) derived types, or other code or data structures of procedural languages or other languages and environments such as functions, pointers, components, modules, structures, references and unions.
- Turning now to
FIGS. 7 and 9 , during theloading procedure 75, theapplication code 50 being loaded onto or into each JAVAvirtual machine 72 is modified byDRT 71. This modification commences atStep 90 inFIG. 9 and involves theinitial step 91 of preferably scrutinizing or analysing the code and detecting all memory locations addressable by theapplication code 50, or optionally some subset of all memory locations addressable by theapplication code 50; such as for example named and unnamed memory locations, variables (such as local variables, global variables, and formal arguments to subroutines or functions), fields, registers, or any other address space or range of addresses whichapplication code 50 may access. Such memory locations in some instances need to be identified for subsequent processing atsteps DRT 71 during theloading procedure 75 creates a list of all the memory locations thus identified. In one embodiment, the memory locations in the form of JAVA fields are listed by object and class, however, the memory locations, fields, or the like may be listed or organized in any manner so long as they comport with the architectural and programming requirements of the system on which the program is to be used and the principles of the invention described herein. This detection is optional and not required in all embodiments of the invention. It may be noted that the DRT is at least in part fulfilling the roll of the modifier 51. - The next phase (designated
Step 92 inFIG. 9 ) [Step 92] of the modification procedure is to search through theapplication code 50 in order to locate processing activity or activities that manipulate or change values or contents of any listed memory location (for example, but not limited to JAVA fields) corresponding to the list generated atstep 91 when required. Preferably, all processing activities that manipulate or change any one or more values or contents of any one or more listed memory locations, are located. - When such a processing activity or operation (typically “putstatic” or “putfield” in the JAVA language, or for example, a memory assignment operation, or a memory write operation, or a memory manipulation operation, or more generally operations that otherwise manipulate or change value(s) or content(s) of memory or other addressable areas), is detected which changes the value or content of a fisted or detected memory location, then an “updating propagation routine” is inserted by
step 93 in theapplication code 50 corresponding to the detected memory manipulation operation, to communicate with all other machines in order to notify all other machines of the identity of the manipulated memory location, and the updated, manipulated or changed value(s) or content(s) of the manipulated memory location. The inserted “updating propagation routine” preferably takes the form of a method, function, procedure, or similar subroutine call or operation to a network communications library ofDRT 71. Alternatively, the “updating propagation routine” may take the optional form of a code-block (or other inline code form) inserted into the application code instruction stream at, after, before, or otherwise corresponding to the detected manipulation instruction or operation. And preferably, in a multi-tasking or parallel processing machine environment (and in some embodiments inclusive or exclusive of operating system), such as a machine environment capable of potentially simultaneous or concurrent execution of multiple or different threads or processes, the “updating propagation routine” may execute on the same thread or process or processor as the detected memory manipulation operation ofstep 92. Thereafter, the loading procedure continues, by loading the modifiedapplication code 50 on themachine 72 in place of theunmodified application code 50, as indicated bystep 94 inFIG. 9 . - An alternative form of modification during loading is illustrated in the illustration of
FIG. 10 . Here the start andlisting steps step 92 are the same as inFIG. 9 . However, rather than insert the “updating propagation routine” into theapplication code 50 corresponding to the detected memory manipulation operation identified instep 92, as is indicated instep 93, in which theapplication code 50, or networkcommunications library code 71 of the DRT executing on the same thread or process or processor as the detected memory manipulation operation, carries out the updating, instead an “alert routine” is inserted corresponding to the detected memory manipulation operation, atstep 103. The “alert routine” instructs, notifies or otherwise requests a different and potentially simultaneously or concurrently executing thread or process or processor not used to perform the memory manipulation operation (that is, a different thread or process or processor than the thread or process or processor which manipulated the memory location), such as a different thread or process allocated to theDRT 71, to carry out the notification, propagation, or communication of all other machines of the identity of the manipulated memory location, and the updated, manipulated or changed value(s) or content(s) of the manipulated memory location. - Once this modification during the loading procedure has taken place and execution begins of the modified
application code 50, then either the steps ofFIG. 11 orFIG. 12 take place.FIG. 11 (and thesteps application code 50 when modified in accordance with the procedures set forth in and described relative toFIG. 9 .FIG. 12 on the other hand (and thesteps application code 50 when modified in accordance withFIG. 10 . - This analysis or scrutiny of the
application code 50 can may take place either prior to loading theapplication program code 50, or during theapplication program code 50 loading procedure, or even after theapplication program code 50 loading procedure. It may be likened to an instrumentation, program transformation, translation, or compilation procedure in that the application code may be instrumented with additional instructions, and/or otherwise modified by meaning-preserving program manipulations, and/or optionally translated from an input code language to a different code language (such as for example from source-code language or intermediate-code language to object-code language or machine-code language), and with the understanding that the term compilation normally or conventionally involves a change in code or language, for example, from source code to object code or from one language to another language. However, in the present instance the term “compilation” (and its grammatical equivalents) is not so restricted and can also include or embrace modifications within the same code or language. For example, the compilation and its equivalents are understood to encompass both ordinary compilation (such as for example by way of illustration but not limitation, from source-code to object-code), and compilation from source-code to source-code, as well as compilation from object-code to object-code, and any altered combinations therein. It is also inclusive of so-called “intermediary-code languages” which are a form of “pseudo object-code”. - By way of illustration and not limitation, in one embodiment, the analysis or scrutiny of the
application code 50 may take place during the loading of the application program code such as by the operating system reading the application code from the hard disk or other storage device or source and copying it into memory and preparing to begin execution of the application program code. In another embodiment, in a JAVA virtual machine, the analysis or scrutiny may take place during the class loading procedure of the java.lang.ClassLoader loadClass method (e.g., “java.lang.ClassLoader.loadClass( )”). - Alternatively, the analysis or scrutiny of the
application code 50 may take place even after the application program code loading procedure, such as after the operating system has loaded the application code into memory, or optionally even after execution of the relevant corresponding portion of the application program code has started, such as for example after the JAVA virtual machine has loaded the application code into the virtual machine via the “java.lang.ClassLoader.loadClass( )” method and optionally commenced execution. - As seen in
FIG. 11 , a multiple threadprocessing machine environment 110, on each one of the machines M1, . . . , Mn and consisting of threads 111/1 . . . 111/4 exists. The processing and execution of the second thread 111/2 (in this example) results in that thread 111/2 manipulating a memory location atstep 113, by writing to a listed memory location. In accordance with the modifications made to theapplication code 50 in the steps 90-94 ofFIG. 9 , theapplication code 50 is modified at a point corresponding to the write to the memory location ofstep 113, so that it propagates, notifies, or communicates the identity and changed value of the manipulated memory location ofstep 113 to the other machines M2, . . . , Mn vianetwork 53 or other communication link or path, as indicated atstep 114. At this stage the processing of theapplication code 50 of that thread 111/2 is or may be altered and in some instances interrupted atstep 114 by the executing of the inserted “updating propagation routine”, and the same thread 111/2 notifies, or propagates, or communicates to all other machines M2, . . . , Mn via thenetwork 53 or other communications link or path of the identity and changed value of the manipulated memory location ofstep 113. At the end of that notification, or propagation, orcommunication procedure 114, the thread 111/2 then resumes or continues the processing or the execution of the modifiedapplication code 50 atstep 115. - In the alternative arrangement illustrated in
FIG. 12 , a multiple threadprocessing machine environment 110 comprising or consisting of threads 111/1, . . . , 111/3, and a simultaneously or concurrently executingDRT processing environment 120 consisting of thethread 121/1 as illustrated, or optionally a plurality of threads, is executing on each one of the machines M1, . . . Mn. The processing and execution of the modifiedapplication code 50 on thread 111/2 results in a memory manipulation operation ofstep 113, which in this instance is a write to a listed memory location. In accordance with the modifications made to theapplication code 50 in thesteps FIG. 9 , theapplication code 50 is modified at a point corresponding to the write to the memory location ofstep 113, so that it requests or otherwise notifies the threads of theDRT processing environment 120 to notify, or propagate, or communicate to the other machines M2, . . . , Mn of the identity and changed value of the manipulated memory location ofstep 113, as indicated atsteps arrow 127. In accordance with this modification, the thread 111/2 processing and executing the modifiedapplication code 50 requests a different and potentially simultaneously or concurrently executing thread or process (such asthread 121/1) of theDRT processing environment 120 to notify the machines M2, . . . , Mn vianetwork 53 or other communications link or path of the identity and changed value of the manipulated memory location ofstep 113, as indicated instep 125 andarrow 127. In response to this request ofstep 125 andarrow 127, a different and potentially simultaneously or concurrently executing thread orprocess 121/1 of theDRT processing environment 120 notifies the machines M2, . . . , Mn vianetwork 53 or other communications link or path of the identity and changed value of the manipulated memory location ofstep 113, as requested of it by the modifiedapplication code 50 executing on thread 111/2 ofstep 125 andarrow 127. - When compared to the earlier described
step 114 of thread 111/2 ofFIG. 11 ,step 125 of thread 111/2 ofFIG. 12 can be carried out quickly, becausestep 114 of thread 111/2 must notify and communicate with machines M2 . . . , Mn via the relatively slow network 53 (relatively slow for example when compared to theinternal memory bus 4 ofFIG. 1 or theglobal memory 13 ofFIG. 2 ) of the identity and changed value of the manipulated memory location ofstep 113, whereasstep 125 of thread 111/2 does not communicate with machines M2, . . . , Mn via the relativelyslow network 53. Instead, step 125 of thread 111/2 requests or otherwise notifies a different and potentially simultaneously or concurrently executingthread 121/1 of theDRT processing environment 120 to perform the notification and communication with machines M2, . . . , Mn via the relativelyslow network 53 of the identify and changed value of the manipulated memory location ofstep 113, as indicated byarrow 127. Thus thread 111/2 carrying outstep 125 is only interrupted momentarily before the thread 111/2 resumes or continues processing or execution of modified application code instep 115. Theother thread 121/1 of theDRT processing environment 120 then communicates the identity and changed value of the manipulated memory location ofstep 113 to machines M2, . . . , Mn via the relativelyslow network 53 or other relatively slow communications link or path. - This second arrangement of
FIG. 12 makes better utilisation of the processing power of the various threads 111/1 . . . 111/3 and 121/1 (which are not, in general, subject to equal demands). Irrespective of which arrangement is used, the identity and change value of the manipulated memory location(s) ofstep 113 is (are) propagated to all the other machines M2 . . . Mn on thenetwork 53 or other communications link or path. - This is illustrated in
FIG. 13 wherestep 114 ofFIG. 11 , or theDRT 71/1 (corresponding to theDRT processing environment 120 ofFIG. 12 ) and itsthread 121/1 ofFIG. 12 (represented bystep 128 inFIG. 13 ), send, via thenetwork 53 or other communications link or path, the identity and changed value of the manipulated memory location ofstep 113 ofFIGS. 11 and 12 , to each of the other machines M2, . . . , Mn. - With reference to
FIG. 13 , each of the other machines M2, . . . , Mn carries out the action of receiving from thenetwork 53 the identity and changed value of, for example, the manipulated memory location ofstep 113 from machine M1, indicated bystep 135, and writes the value received atstep 135 to the local memory location corresponding to the identified memory location received atstep 135, indicated bystep 136. - In the conventional arrangement in
FIG. 3 utilising distributed software, memory access from one machine's software to memory physically located on another machine is permitted by the network interconnecting the machines. However, because the read and/or write memory access to memory physically located on another computer require the use of theslow network 14, in these configurations such memory accesses can result in substantial delays in memory read/write processing operation, potentially of the order of 106-107 cycles of the central processing unit of the machine, but ultimately being dependent upon numerous factors, such as for example, the speed, bandwidth, and/or latency of thenetwork 14. This in large part accounts for the diminished performance of the multiple interconnected machines in the prior art arrangement ofFIG. 3 . - However, in the present arrangement as described above in connection with
FIG. 8 , it will be appreciated that all reading of memory locations or data is satisfied locally because a current value of all (or some subset of all) memory locations is stored on the machine carrying out the processing which generates the demand to read memory. - Similarly, in the present arrangement as described above in connection with
FIG. 8 , it will be appreciated that all writing of memory locations or data may be satisfied locally because a current value of all (or some subset of all) memory locations is stored on the machine carrying out the processing which generates the demand to write to memory. - Such local memory read and write processing operation as performed according to the invention can typically be satisfied within 102-103 cycles of the central processing unit. Thus, in practice, there is substantially less waiting for memory accesses which involves reads than the arrangement shown and described relative to
FIG. 3 . Additionally, in practice, there may be less waiting for memory accesses which involve writes than the arrangement shown and described relative toFIG. 3 - It may be appreciated that most application software reads memory frequently but writes to memory relatively infrequently. As a consequence, the rate at which memory is being written or re-written is relatively slow compared to the rate at which memory is being read. Because of this slow demand for writing or re-writing of memory, the memory locations or fields can be continually updated at a relatively low speed via the possibly relatively slow and
inexpensive commodity network 53, yet this possibly relatively slow speed is sufficient to meet the application program's demand for writing to memory. The result is that the performance of theFIG. 8 arrangement is superior to that ofFIG. 3 . It may be appreciated in light of the description provided herein that while a relatively slow network communication link orpath 53 may advantageously be used because it provides the desired performance and low cost, the invention is not limited to a relatively low speed network connection and may be used with any communication link or path. The invention is transport, network, and communications path independent, and does not depend on how the communication between machines or DRTs takes place. In one embodiment, even electronic mail (email) exchanges between machines or DRTs may suffice for the communications. - In a further optional modification in relation to the above, the identity and changed value pair of a manipulated memory location sent over
network 53, each pair typically sent as the sole contents of a single packet, frame or cell for example, can be grouped into batches of multiple pairs of identities and changed values corresponding to multiple manipulated memory locations, and sent together overnetwork 53 or other communications link or path in a single packet, frame, or cell. This further modification further reduces the demands on the communication speed of thenetwork 53 or other communications link or path interconnecting the various machines, as each packet, cell or frame may contain multiple identity and changed value pairs, and therefore fewer packets, frames, or cells require to be sent. - It may be apparent that in an environment where the application program code writes repeatedly to a single memory location, the embodiment illustrated of
FIG. 11 ofstep 114 sends an updating and propagation message to all machines corresponding to every performed memory manipulation operation. In a still further optimal modification in relation to the above, theDRT thread 121/1 ofFIG. 12 does not need to perform an updating and propagation operation corresponding to every local memory manipulation operation, but instead may send fewer updating and propagation messages than memory manipulation operations, each message containing the last or latest changed value or content of the manipulated memory location, or optionally may only send a single updating and propagation message corresponding to the last memory manipulation operation. This further improvement reduces the demands on thenetwork 53 or other communications link or path, as fewer packets, frames, or cells require to be sent. - It will also be apparent to those skilled in the art in light of the detailed description provided herein that in a table or list or other data structure created by each
DRT 71 when initially recording or creating the list of all, or some subset of all, memory locations (or fields), for each such recorded memory location on each machine M1, . . . , Mn there is a name or identity which is common or similar on each of the machines M1, . . . , Mn. However, in the individual machines the local memory location corresponding to a given name or identity (listed for example, duringstep 91 ofFIG. 9 ) will or may vary over time since each machine may and generally will store changed memory values or contents at different memory locations according to its own internal processes. Thus the table, or list, or other data structure in each of the DRTs will have, in general, different local memory locations corresponding to a single memory name or identity, but each global “memory name” or identity will have the same “memory value” stored in the different local memory locations. - It will also be apparent to those skilled in the art in light of the description provided herein that the abovementioned modification of the
application program code 50 during loading can be accomplished in many ways or by a variety of means. These ways or means include, but are not limited to at least the following five ways and variations or combinations of these five, including by: - (i) re-compilation at loading,
(ii) by a pre-compilation procedure prior to loading,
(iii) compilation prior to loading,
(iv) a “just-in-time” compilation, or
(v) re-compilation after loading (but, or for example, before execution of the relevant or corresponding application code in a distributed environment). - Traditionally the term “compilation” implies a change in code or language, for example, from source to object code or one language to another. Clearly the use of the term “compilation” (and its grammatical equivalents) in the present specification is not so restricted and can also include or embrace modifications within the same code or language
- Given the fundamental concept of modifying memory manipulation operations to coordinate operation between and amongst a plurality of machines M1, . . . Mn, there are several different ways or embodiments in which this coordinated, coherent and consistent memory state and manipulation operation concept, method, and procedure may be carried out or implemented.
- In the first embodiment, a particular machine, say machine M2, loads the asset (such as class or object) inclusive of memory manipulation operation(s), modifies it, and then loads each of the other machines M1, M3, . . . , Mn (either sequentially or simultaneously or according to any other order, routine or procedure) with the modified object (or class or other asset or resource) inclusive of the new modified memory manipulation operation. Note that there may be one or a plurality of memory manipulation operations corresponding to only one object in the application code, or there may be a plurality of memory manipulation operations corresponding to a plurality of objects in the application code. Note that in one embodiment, the memory manipulation operation(s) that is (are) loaded is binary executable object code. Alternatively, the memory manipulation operation(s) that is (are) loaded is executable intermediary code.
- In this arrangement, which may be termed “master/slave” each of the slave (or secondary) machines M1, M3, . . . , Mn loads the modified object (or class), and inclusive of the new modified memory manipulation operation(s), that was sent to it over the computer communications network or other communications link or path by the master (or primary) machine, such as machine M2, or some other machine such as a machine X of
FIG. 15 . In a slight variation of this “master/slave” or “primary/secondary” arrangement, the computer communications network can be replaced by a shared storage device such as a shared file system, or a shared document/file repository such as a shared database. - Note that the modification performed on each machine or computer need not and frequently will not be the same or identical. What is required is that they are modified in a similar enough way that in accordance with the inventive principles described herein, each of the plurality of machines behaves consistently and coherently relative to the other machines to accomplish the operations and objectives described herein. Furthermore, it will be appreciated in light of the description provided herein that there are a myriad of ways to implement the modifications that may for example depend on the particular hardware, architecture, operating system, application program code, or the like or different factors. It will also be appreciated that embodiments of the invention may be implemented within an operating system, outside of or without the benefit of any operating system, inside the virtual machine, in an EPROM, in software, in firmware, or in any combination of these.
- In a still further embodiment, each machine M1, . . . , Mn receives the unmodified asset (such as class or object) inclusive of one or more memory manipulation operation(s), but modifies the operations and then loads the asset (such as class or object) consisting of the now modified operations. Although one machine, such as the master or primary machine may customize or perform a different modification to the memory manipulation operation(s) sent to each machine, this embodiment more readily enables the modification carried out by each machine to be slightly different and to be enhanced, customized, and/or optimized based upon its particular machine architecture, hardware, processor, memory, configuration, operating system, or other factors, yet still similar, coherent and consistent with other machines with all other similar modifications and characteristics that may not need to be similar or identical.
- In all of the described instances or embodiments, the supply or the communication of the asset code (such as class code or object code) to the machines M1, . . . , Mn, and optionally inclusive of a machine X of
FIG. 15 , can be branched, distributed or communicated among and between the different machines in any combination or permutation; such as by providing direct machine to machine communication (for example, M2 supplies each of M1, M3, M4, etc. directly), or by providing or using cascaded or sequential communication (for example, M2 supplies M1 which then supplies M3 which then supplies M4, and so on), or a combination of the direct and cascaded and/or sequential. - Reference is made to the accompanying Annexure A in which: Annexure A5 is a typical code fragment from a memory manipulation operation prior to modification (e.g., an exemplary unmodified routine with a memory manipulation operation), and Annexure A6 is the same routine with a memory manipulation operation after modification (e.g., an exemplary modified routine with a memory manipulation operation). These code fragments are exemplary only and identify one software code means for performing the modification in an exemplary language. It will be appreciated that other software/firmware or computer program code may be used to accomplish the same or analogous function or operation without departing from the invention.
- Annexures A5 and A6 (also reproduced in part in Table VI and Table VII below) are exemplary code listings that set forth the conventional or unmodified computer program software code (such as may be used in a single machine or computer environment) of a routine with a memory manipulation operation of
application program code 50 and a post-modification excerpt of the same routine such as may be used in embodiments of the present invention having multiple machines. The modified code that is added to the routine is highlighted in bold text. -
TABLE I Summary Listing of Contents of Annexure A Annexure A includes exemplary program listings in the JAVA language to further illustrate features, aspects, methods, and procedures of described in the detailed description A1. This first excerpt is part of an illustration of the modification code of the modifier 51 in accordance with steps application program code 50, and when it detects a memory manipulation instruction (i.e. aputstatic instruction (opcode 178) in the JAVA language and virtual machine environment) it modifies the application program code by the insertion of an “alert” routine. A2. This second excerpt is part of the DRT.alert( ) method and implements the step of 125 and arrow of 127 of FIG. 12. This DRT.alert( ) method requests one or more threads of the DRT processing environment of FIG. 12 to update and propagate the value and identity of the changed memory location corresponding to the operation of Annexure A1. A3. This third excerpt is part of the DRT 71, and corresponds to step 128 of FIG. 12.This code fragment shows the DRT in a separate thread, such as thread 121/1 of FIG. 12,after being notified or requested by step 125 andarray 127, and sending the changed valueand changed value location/identity across the network 53 to the other of the plurality ofmachines M1 . . . Mn. A4. The fourth excerpt is part of the DRT 71, and corresponds tosteps FIG. 13. This is a fragment of code to receive a propagated identity and value pair sent by another DRT 71 over the network, and write the changed value to the identified memorylocation. A5. The fifth excerpt is an disassembled compiled form of the example.java application of Annexure A7, which performs a memory manipulation operation (putstatic and putfield). A6. The sixth excerpt is the disassembled compiled form of the same example application in Annexure A5 after modification has been performed by FieldLoader.java of Annexure A11, in accordance with FIG. 9 of this invention. The modifications are highlighted in bold. A7. The seventh excerpt is the source-code of the example.java application used in excerpt A5 and A6. This example application has two memory locations (staticValue and instanceValue) and performs two memory manipulation operations. A8. The eighth excerpt is the source-code of FieldAlert.java which corresponds to step 125 and arrow 127 of FIG. 12, and which requests athread 121/1 executing FieldSend.Java ofthe “distributed run-time” 71 to propagate a changed value and identity pair to the other machines M1 . . . Mn. A9. The ninth excerpt is the source-code of FieldSend.java which corresponds to step 128 of FIG. 12, and waits for a request/notification generated by FieldAlert.java of A8 corresponding to step 125 and arrow 127, and which propagates a changed value/identitypair requested of it by FieldAlert.java, via network 53.A10. The tenth excerpt is the source-code of FieldReceive.java, which corresponds to steps pair sent to it over the network 53 via FieldSend.java of annexure A9.A11. FieldLoader.java. This excerpt is the source-code of FieldLoader.java, which modifies an application program code, such as the example.java application code of Annexure A7, as it is being loaded into a JAVA virtual machine in accordance with steps of FIG. 10. FieldLoader.java makes use of the convenience classes of Annexures A12 through to A36 during the modification of a compiled JAVA A12. Attribute_info.java Convience class for representing attribute_info structures within ClassFiles. A13. ClassFile.java Convience class for representing ClassFile structures. A14. Code_attribute.java Convience class for representing Code_attribute structures within ClassFiles. A15. CONSTANT_Class_info.java Convience class for representing CONSTANT_Class_info structures within ClassFiles. A16. CONSTANT_Double_info.java Convience class for representing CONSTANT_Double_info structures within ClassFiles. A17. CONSTANT_Fieldref_info.java Convience class for representing CONSTANT_Fieldref_info structures within ClassFiles. A18. CONSTANT_Float_info.java Convience class for representing CONSTANT_Float_info structures within ClassFiles. A19. CONSTANT_Integer_info.java Convience class for representing CONSTANT_Integer_info structures within ClassFiles. A20. CONSTANT_InterfaceMethodref_info.java Convience class for representing CONSTANT_InterfaceMethodref_info structures within ClassFiles. A21. CONSTANT_Long_info.java Convience class for representing CONSTANT_Long_info structures within ClassFiles. A22. CONSTANT_Methodref_info.java Convience class for representing CONSTANT_Methodref_info structures within ClassFiles. A23. CONSTANT_NameAndType_info.java Convience class for representing CONSTANT_NameAndType_info structures within ClassFiles. A24. CONSTANT_String_info.java Convience class for representing CONSTANT_String_info structures within ClassFiles. A25. CONSTANT_Utf8_info.java Convience class for representing CONSTANT_Utf8_info structures within ClassFiles. A26. ConstantValue_attribute.java Convience class for representing ConstantValue_attribute structures within ClassFiles. A27. cp_info.java Convience class for representing cp_info structures within ClassFiles. A28. Deprecated_attribute.java Convience class for representing Deprecated_attribute structures within ClassFiles. A29. Exceptions_attribute.java Convience class for representing Exceptions_attribute structures within ClassFiles. A30. field_info.java Convience class for representing field_info structures within ClassFiles. A31. InnerClasses_attribute.java Convience class for representing InnerClasses_attribute structures within ClassFiles. A32. LineNumberTable_attribute.java Convience class for representing LineNumberTable_attribute structures within ClassFiles. A33. LocalVariableTable_attribute.java Convience class for representing LocalVariableTable_attribute structures within ClassFiles. A34. method_info.java Convience class for representing method_info structures within ClassFiles. A35. SourceFile_attribute.java Convience class for representing SourceFile_attribute structures within ClassFiles. A36. Synthetic_attribute.java Convience class for representing Synthetic_attribute structures within ClassFiles. -
TABLE II Exemplary code listing showing embodiment of modified code. A1. This first excerpt is part of an illustration of the modification code of the modifier 51 in accordance with steps application program code 50, and when it detects a memory manipulation instruction (i.e. aputstatic instruction (opcode 178) in the JAVA language and virtual machine environment) it modifies the application program code by the insertion of an “alert” routine. // START byte[ ] code = Code_attribute.code; // Bytecode of a given method in a // given classfile. int code_length = Code_attribute.code_length; int DRT = 99; // Location of the CONSTANT_Methodref_info for the // DRT.alert( ) method. for (int i=0; i<code_length; i++){ if ((code[i] & 0xff) == 179){ // Putstatic instruction. System.arraycopy(code, i+3, code, i+6, code_length−(i+3)); code[i+3] = (byte) 184; // Invokestatic instruction for the // DRT.alert( ) method. code[i+4] = (byte) ((DRT >>> 8) & 0xff); code[i+5] = (byte) (DRT & 0xff); } } // END -
TABLE III Exemplary code listing showing embodiment of code for alert method A2. This second excerpt is part of the DRT.alert( ) method and implements the step of 125 and arrow of 127 of FIG. 12. This DRT.alert( ) method requests one or more threads of the DRT processing environment of FIG. 12 to update and propagate the value and identity of the changed memory location corresponding to the operation of Annexure A1. // START public static void alert( ){ synchronized (ALERT_LOCK){ ALERT_LOCK.notify( ); // Alerts a waiting DRT thread in the background. } } // END -
TABLE IV Exemplary code listing showing embodiment of code for DRT A3. This third excerpt is part of the DRT 71, and corresponds to step128 of FIG. 12. This code fragment shows the DRT in a separate thread, such as thread 121/1 of FIG. 12, after being notified or requested bystep 125 andarray 127, and sending the changed value and changedvalue location/identity across the network 53 to the other of the plurality ofmachines M1...Mn. // START MulticastSocket ms = DRT.getMulticastSocket( ); // The multicast socket // used by the DRT for // communication. byte nameTag = 33; // This is the “name tag” on the network for this // field. Field field = modifiedClass.getDeclaredField(“myField1”); // Stores // the field // from the // modified // class. // In this example, the field is a byte field. while (DRT.isRunning( )){ synchronized (ALERT_LOCK){ ALERT_LOCK.wait( ); // The DRT thread is waiting for the alert // method to be called. byte[ ] b = new byte[ ]{nameTag, field.getByte(null)}; // Stores // the // nameTag // and the // value // of the // field from // the modified // class in a // buffer. DatagramPacket dp = new DatagramPacket(b, 0, b.length); ms.send(dp); // Send the buffer out across the network. } } // END -
TABLE V Exemplary code listing showing embodiment of code for DRT receiving. A4. The fourth excerpt is part of the DRT 71, and corresponds tosteps propagated identity and value pair sent by another DRT 71 over thenetwork, and write the changed value to the identified memory location. // START MulticastSocket ms = DRT.getMulticastSocket( ); // The multicast socket // used by the DRT for // communication. DatagramPacket dp = new DatagramPacket(new byte[2], 0, 2); byte nameTag = 33; // This is the “name tag” on the network for this // field. Field field = modifiedClass.getDeclaredField(“myField1”); // Stores the // field from // the modified // class. // In this example, the field is a byte field. while (DRT.isRunning){ ms.receive(dp); // Receive the previously sent buffer from the network. byte[ ] b = dp.getData( ); if (b[0] == nameTag){ // Check the nametags match. field.setByte(null, b[1]); // Write the value from the network packet // into the field location in memory. } } // END -
TABLE VI Exemplary code listing showing embodiment of application before modification is made. A5. The fifth excerpt is an disassembled compiled form of the example.java application of Annexure A7, which performs a memory manipulation operation (putstatic and putfield). Method void setValues(int, int) 0 iload_1 1 putstatic # 3 <Field int staticValue>4 aload_0 5 iload_2 6 putfield # 2 <Field int instanceValue>9 return -
TABLE VII Exemplary code listing showing embodiment of application after modification is made. A6. The sixth excerpt is the disassembled compiled form of the same example application in Annexure A5 after modification has been performed by FieldLoader.java of Annexure A11, in accordance with FIG. 9 of this invention. The modifications are highlighted in bold. Method void setValues(int, int) 0 iload_1 1 putstatic # 3 <Field int staticValue>4 ldc # 4 <String “example”>6 iconst _0 7 invokestatic #5 <Method void alert(java.lang.Object, int)> 10 aload_0 11 iload_2 12 putfield # 2 <Field int instanceValue>15 aload_0 16 iconst_1 17 invokestatic #5 <Method void alert(java.lang.Object, int)> 20 return -
TABLE VIII Exemplary code listing showing embodiment of source-code of the example application. A7. The seventh excerpt is the source-code of the example.java application used in excerpt A5 and A6. This example application has two memory locations (staticValue and instanceValue) and performs two memory manipulation operations. import java.lang.*; public class example{ /** Shared static field. */ public static int staticValue = 0; /** Shared instance field. */ public int instanceValue = 0; /** Example method that writes to memory (instance field). */ public void setValues(int a, int b){ staticValue = a; instanceValue = b; } } -
TABLE IX Exemplary code listing showing embodiment of the source-code of FieldAlert. A8. The eighth excerpt is the source-code of FieldAlert.java which corresponds to step 125 and arrow 127 of FIG. 12, and whichrequests a thread 121/1 executing FieldSend.java of the“distributed run-time” 71 to propagate a changed value and identity pair to the other machines M1...Mn. import java.lang.*; import java.util.*; import java.net.*; import java.io.*; public class FieldAlert{ /** Table of alerts. */ public final static Hashtable alerts = new Hashtable( ); /** Object handle. */ public Object reference = null; /** Table of field alerts for this object. */ public boolean[ ] fieldAlerts = null; /** Constructor. */ public FieldAlert(Object o, int initialFieldCount){ reference = o; fieldAlerts = new boolean[initialFieldCount]; } /** Called when an application modifies a value. (Both objects and classes) */ public static void alert(Object o, int fieldID){ // Lock the alerts table. synchronized (alerts){ FieldAlert alert = (FieldAlert) alerts.get(o); if (alert == null){ // This object hasn't been alerted already, // so add to alerts table. alert = new FieldAlert(o, fieldID + 1); alerts.put(o, alert); } if (fieldID >= alert.fieldAlerts.length){ // Ok, enlarge fieldAlerts array. boolean[ ] b = new boolean[fieldID+1]; System.arraycopy(alert.fieldAlerts, 0, b, 0, alert.fieldAlerts.length); alert.fieldAlerts = b; } // Record the alert. alert.fieldAlerts[fieldID] = true; // Mark as pending. FieldSend.pending = true; // Signal that there is one or more // propagations waiting. // Finally, notify the waiting FieldSend thread(s) if (FieldSend.waiting){ FieldSend.waiting = false; alerts.notify( ); } } } } - It is noted that the compiled code in the annexure and portion repeated in the table is taken from the source-code of the file “example java” which is included in the Annexure A7 (Table VIII). In the procedure of Annexure A5 and Table VI, the procedure name “Method void setvalues(int, int)” of Step 001 is the name of the displayed disassembled output of the setValues method of the compiled application code of “example.java”. The name “Method void setValues(int, int)” is arbitrary and selected for this example to indicate a typical JAVA method inclusive of a memory manipulation operation. Overall the method is responsible for writing two values to two different memory locations through the use of an memory manipulation assignment statement (being “putstatic” and “putfield” in this example) and the steps to accomplish this are described in turn.
- First (Step 002), the Java Virtual Machine instruction “iload_1” causes the Java Virtual Machine to load the integer value in the local variable array at
index 1 of the current method frame and store this item on the top of the stack of the current method frame and results in the integer value passed to this method as the first argument and stored in the local variable array atindex 1 being pushed onto the stack. - The Java Virtual Machine instruction “
putstatic # 3 <Field int staticValue>” (Step 003) causes the Java Virtual Machine to pop the topmost value off the stack of the current method frame and store the value in the static field indicated by the CONSTANT_Fieldref_info constant-pool item stored in the 3rd index of the classfile structure of the application program containing this example setvalues( ) method and results in the topmost integer value of the stack of the current method frame being stored in the integer field named “staticValue”. - The Java Virtual Machine instruction “aload_0” (Step 004) causes the Java Virtual Machine to load the item in the local variable array at index 0 of the current method frame and store this item on the top of the stack of the current method frame and results in the ‘this’ object reference stored in the local variable array at index 0 being pushed onto the stack.
- First (Step 005), the Java Virtual Machine instruction “iload_2” causes the Java Virtual Machine to load the integer value in the local variable array at
index 2 of the current method frame and store this item on the top of the stack of the current method frame and results in the integer value passed to this method as the first argument and stored in the local variable array atindex 2 being pushed onto the stack. - The Java Virtual Machine instruction “
putfield # 2 <Field int instanceValue>” (Step 006) causes the Java Virtual Machine to pop the two topmost values off the stack of the current method frame and store the topmost value in the object instance field of the second popped value, indicated by the CONSTANT_Feldref_info constant-pool item stored in the 2nd index of the classfile structure of the application program containing this example setValues method and results in the integer value on the top of the stack of the current method frame being stored in the instance field named “instanceValue” of the object reference below the integer value on the stack. - Finally, the JAVA virtual machine instruction “return” (Step 007) causes the JAVA virtual machine to cease executing this setValues( ) method by returning control to the previous method frame and results in termination of execution of this setValues( ) method.
- As a result of these steps operating on a single machine of the conventional configurations in
FIG. 1 andFIG. 2 , the JAVA virtual machine manipulates (i.e. writes to) the staticValue and instanceValue memory locations, and in executing the setValues( ) method containing the memory manipulation operation(s) is able to ensure that memory is and remains consistent between multiple threads of a single application instance, and therefore ensure that unwanted behaviour, such as for example inconsistent or incoherent memory between multiple threads of a single application instance (such inconsistent or incoherent memory being for example incorrect or different values or contents with respect to a single memory location) does not occur. Were these steps to be carried out on the plurality of machines of the configurations ofFIG. 5 andFIG. 8 by concurrently executing theapplication program code 50 on each one of the plurality of machines M1 . . . Mn, the memory manipulation operations of each concurrently executing application program occurrence on each one of the machines would be performed without coordination between any other machine(s), such coordination being for example updating of corresponding memory locations on each machine such that they each report a same content or value. Given the goal of consistent, coordinated and coherent memory state and manipulation and updating operation across a plurality of a machines, this prior art arrangement would fail to perform such consistent, coherent, and coordinated memory state and manipulation and updating operation across the plurality of machines, as each machine performs memory manipulation only locally and without any attempt to coordinate or update their local memory state and manipulation operation with any other similar memory state on any one or more other machines. Such an arrangement would therefore be susceptible to inconsistent and incoherent memory state amongst machines M1 . . . Mn due to uncoordinated, inconsistent and/or incoherent memory manipulation and updating operation. Therefore it is the goal of the present invention to overcome this limitation of the prior art arrangement. - In the exemplary code in Table VII (Annexure A6), the code has been modified so that it solves the problem of consistent, coordinated memory manipulation and updating operation for a plurality of machines M1 . . . Mn, that was not solved in the code example from Table VI (Annexure A5). In this modified setvalues( ) method code, an “
Idc # 4 <String “example”>” instruction is inserted after the “putstatic # 3” instruction in order to be the first instruction following the execution of the “putstatic # 3” instruction. This causes the JAVA virtual machine to load the String value “example” onto the stack of the current method frame and results in the String value of “example” loaded onto the top of the stack of the current method frame. This change is significant because it modifies the setvalues( ) method to load a String identifier corresponding to the classname of the class containing the static field location written to by the “putstatic # 3” instruction onto the stack. - Furthermore, the JAVA virtual machine instruction “iconst_0” is inserted after the “
Idc # 4” instruction so that the JAVA virtual machine loads an integer value of “0” onto the stack of the current method frame and results in the integer value of “0” loaded onto the top of the stack of the current method frame. This change is significant because it modifies the setValues( ) method to load an integer value, which in this example is “0”, which represents the identity of the memory location (field) manipulated by the preceding “putstatic # 3” operation. It is to be noted that the choice or particular form of the memory identifier used for the implementation of this invention is for illustration purposes only. In this example, the integer value of “0” is the identifier used of the manipulated memory location, and corresponds to the “staticvalue” field as the first field of the “example.java” application, as shown in Annexure A7. Therefore, corresponding to the “putstatic # 3” instruction, the “iconst_0” instruction loads the integer value “0” corresponding to the index of the manipulated field of the “putstatic # 3” instruction, and which in this case is the first field of “example.java” hence the “0” integer index value, onto the stack. - Additionally, the JAVA virtual machine instruction “invokestatic #5 <Method boolean alert(java.lang.Object, int)>” is inserted after the “iconst_0” instruction so that the JAVA virtual machine pops the two topmost items off the stack of the current method frame (which in accordance with the preceding “
Idc # 4” instruction is a reference to the String object with the value “example” corresponding to the name of the class to which manipulated field belongs, and the integer “0” corresponding to the index of the manipulated field in the example.java application) and invokes the “alert” method, passing the two topmost items popped off the stack to the new method frame as its first two arguments. This change is significant because it modifies the setvalues( ) method to execute the “alert” method and associated operations, corresponding to the preceding memory manipulation operation (that is, the “putstatic # 3” instruction) of the setvalues( ) method. - Likewise, in this modified setvalues( ) method code, an “aload_0” instruction is inserted after the “
putfield # 2” instruction in order to be the first instruction following the execution of the “putfield # 2” instruction. This causes the JAVA virtual machine to load the instance object of the example class to which the manipulated field of the preceding “puffield # 2” instruction belongs, onto the stack of the current method frame and results in the object reference corresponding to the instance field written to by the “putfield # 2” instruction, loaded onto the top of the stack of the current method frame. This change is significant because it modifies the setvalues( ) method to load a reference to the object corresponding to the manipulated field onto the stack. - Furthermore, the JAVA virtual machine instruction “iconst_1” is inserted after the “aload_0” instruction so that the JAVA virtual machine loads an integer value of “1” onto the stack of the current method frame and results in the integer value of “1” loaded onto the top of the stack of the current method frame. This change is significant because it modifies the setValues( ) method to load an integer value, which in this example is “1”, which represents the identity of the memory location (field) manipulated by the preceding “
putfield # 2” operation. It is to be noted that the choice or particular form of the identifier used for the implementation of this invention is for illustration purposes only. In this example, the integer value of “1” corresponds to the “instanceValue” field as the second field of the “example.java” application, as shown in Annexure A7. Therefore, corresponding to the “putfield # 2” instruction, the “iconst_1” instruction loads the integer value “1” corresponding to the index of the manipulated field of the “putfield # 2” instruction, and which in this case is the second field of “example.java” hence the “1” integer index value, onto the stack. - Additionally, the JAVA virtual machine instruction “invokestatic #5 <Method boolean alert(java.lang.Object, int)>” is inserted after the “iconst_1” instruction so that the JAVA virtual machine pops the two topmost item off the stack of the current method frame (which in accordance with the preceding “aload_0” instruction is a reference to the object corresponding to the object to which the manipulated instance field belongs, and the integer “1” corresponding to the index of the manipulated field in the example.java application) and invokes the “alert” method, passing the two topmost items popped off the stack to the new method frame as its first two arguments. This change is significant because it modifies the setValues( ) method to execute the “alert” method and associated operations, corresponding to the preceding memory manipulation operation (that is, the “
putfield # 2” instruction) of the setValues( ) method. - The method void alert(java.lang.Object, int), part of the FieldAlert code of Annexure A8 and part of the distributed runtime system (DRT) 71, requests or otherwise notifies a
DRT thread 121/1 executing the FieldSend.java code of Annexure A9 to update and propagate the changed identity and value of the manipulated memory location to the plurality of machines M . . . Mn. - It will be appreciated that the modified code permits, in a distributed computing environment having a plurality of computers or computing machines, the coordinated operation of memory manipulation operations so that the problems associated with the operation of the unmodified code or procedure on a plurality of machines M1 . . . Mn (such as for example inconsistent and incoherent memory state and manipulation and updating operation) does not occur when applying the modified code or procedure.
- Turning to
FIG. 14 , there is illustrated a schematic representation of a single prior art computer operated as a JAVA virtual machine. In this way, a machine (produced by any one of various manufacturers and having an operating system operating in any one of various different languages) can operate in the particular language of theapplication program code 50, in this instance the JAVA language. That is, a JAVAvirtual machine 72 is able to operateapplication code 50 in the JAVA language, and utilize the JAVA architecture irrespective of the machine manufacturer and the internal details of the machine. - When implemented in a non-JAVA language or application code environment, the generalized platform, and/or virtual machine and/or machine and/or runtime system is able to operate
application code 50 in the language(s) (possibly including for example, but not limited to any one or more of source-code languages, intermediate-code languages, object-code languages, machine-code languages, and any other code languages) of that platform, and/or virtual machine and/or machine and/or runtime system environment, and utilize the platform, and/or virtual machine and/or machine and/or runtime system and/or language architecture irrespective of the machine manufacturer and the internal details of the machine. It will also be appreciated in light of the description provided herein that the platform and/or runtime system may include virtual machine and non-virtual machine software and/or firmware architectures, as well as hardware and direct hardware coded applications and implementations. - Returning to the example of the JAVA language virtual machine environment, in the JAVA language, the class initialization routine <clinit> happens only once when a given
class file 50A is loaded. However, the object initialization routine <init> typically happens frequently, for example the object initialization routine may usually occur every time a new object (such as anobject application code 50 illustrated inFIG. 14 , having asingle class 50A and threeobjects first class 50A is loaded first, then first object 50X is loaded, then second object 50Y is loaded and finally third object 50Z is loaded. - Where, as in the embodiment illustrated relative to
FIG. 14 , there is only a single computer or machine 72 (and not a plurality of connected or coupled computers or machines), then no conflict or inconsistency arises in the running of the initialization routines (such as class and object initialization routines) intended to operate during the loading procedure because for conventional operation each initialization routine is executed only once by the single virtual machine or machine or runtime system or language environment as needed for each of the one or more classes and one or more objects belonging to or identified with the classes, or equivalent where the terms classes and object are not used. - For a more general set of virtual machine or abstract machine environments, and for current and future computers and/or computing machines and/or information appliances or processing systems, and that may not utilize or require utilization of either classes and/or objects, the inventive structure, method, and computer program and computer program product are still applicable. Examples of computers and/or computing machines that do not utilize either classes and/or objects include for example, the x86 computer architecture manufactured by Intel Corporation and others, the SPARC computer architecture manufactured by Sun Microsystems, Inc and others, the PowerPC computer architecture manufactured by International Business Machines Corporation and others, and the personal computer products made by Apple Computer, Inc., and others. For these types of computers, computing machines, information appliances, and the virtual machine or virtual computing environments implemented thereon that do not utilize the idea of classes or objects, the terms ‘class’ and ‘object’ may be generalized for example to include primitive data types (such as integer data types, floating point data types, long data types, double data types, string data types, character data types and boolean data types), structured data types (such as arrays and records) derived types, or other code or data structures of procedural languages or other languages and environments such as functions, pointers, components, modules, structures, references and unions.
- Returning to the example of the JAVA language virtual machine environment, in the JAVA language, the class initialization routine <clinit> happens only once when a given
class file 50A is loaded. However, the object initialization routine <init> typically happens frequently, for example the object initialization routine will occur every time a new object (such as anobject application code 50 illustrated inFIG. 14 , having asingle class 50A and threeobjects 50X-50Z, thefirst class 50A is loaded first, then thefirst object 50X is loaded, then second object 50Y is loaded and finally third object 50Z is loaded. - Where, as in the embodiment illustrated relative to
FIG. 14 , there is only a single computer or machine 72 (not a plurality of connected or coupled machines), then no conflict or inconsistency arises in the running of the initialization routines (i.e. the class initialization routine <clinit> and the object initialisation routine <init>) intended to operate during the loading procedure because for conventional operation each initialisation routine is executed only once by the single virtual machine or machine or runtime system or language environment as needed for each of the one or more classes and one or more objects belonging to or identified with the classes. - However, in the arrangement illustrated in
FIG. 8 , (and also inFIGS. 31-33 ), a plurality of individual computers or machines M1, M2, . . . , Mn are provided, each of which are interconnected via acommunications network 53 or other communications link and each of which individual computers or machines provided with a modifier 51 (See inFIG. 5 ) and realised by or in for example the distributed runtime system(DRT) 71 (SeeFIG. 8 ) and loaded with acommon application code 50. The term common application program is to be understood to mean an application program or application program code written to operate on a single machine, and loaded and/or executed in whole or in part on each one of the plurality of computers or machines M1, M2 . . . Mn, or optionally on each one of some subset of the plurality of computers or machines M1, M2 . . . Mn. Put somewhat differently, there is a common application program represented inapplication code 50, and this single copy or perhaps a plurality of identical copies are modified to generate a modified copy or version of the application program or program code, each copy or instance prepared for execution on the plurality of machines. At the point after they are modified they are common in the sense that they perform similar operations and operate consistently and coherently with each other. It will be appreciated that a plurality of computers, machines, information appliances, or the like implementing the features of the invention may optionally be connected to or coupled with other computers, machines, information appliances, or the like that do not implement the features of the invention. - In some embodiments, some or all of the plurality of individual computers or machines may be contained within a single housing or chassis (such as so-called “blade servers” manufactured by Hewlett-Packard Development Company, Intel Corporation, IBM Corporation and others) or implemented on a single printed circuit board or even within a single chip or chip set.
- Essentially the modifier 51 or
DRT 71 or other code modifying means is responsible for modifying theapplication code 50 so that it may execute initialisation routines or other initialization operations, such as for example class and object initialization methods or routines in the JAVA language and virtual machine environment, in a coordinated, coherent, and consistent manner across and between the plurality of individual machines M1, M2 . . . Mn. It follows therefore that in such a computing environment it is necessary to ensure that the local objects and classes on each of the individual machines M1, M2 . . . Mn is initialized in a consistent fashion (with respect to the others). - It will be appreciated in light of the description provided herein that there are alternative implementations of the modifier 51 and the distributed
run time 71. For example, the modifier 51 may be implemented as a component of or within the distributedrun time 71, and therefore theDRT 71 may implement the functions and operations of the modifier 51. Alternatively, the function and operation of the modifier 51 may be implemented outside of the structure, software, firmware, or other means used to implement theDRT 71. In one embodiment, the modifier 51 andDRT 71 are implemented or written in a single piece of computer program code that provides the functions of the DRT and modifier. The modifier function and structure therefore maybe subsumed into the DRT and considered to be an optional component. Independent of how implemented, the modifier function and structure is responsible for modifying the executable code of the application code program, and the distributed run time function and structure is responsible for implementing communications between and among the computers or machines. The communications functionality in one embodiment is implemented via an intermediary protocol layer within the computer program code of the DRT on each machine. The DRT may for example implement a communications stack in the JAVA language and use the Transmission Control Protocol/Internet Protocol (TCP/IP) to provide for communications or talking between the machines. Exactly how these functions or operations are implemented or divided between structural and/or procedural elements, or between computer program code or data structures within the invention are less important than that they are provided. - In order to ensure consistent class and object (or equivalent) initialisation status and initialisation operation between and amongst machines M1, M2, . . . , Mn, the
application code 50 is analysed or scrutinized by searching through theexecutable application code 50 in order to detect program steps (such as particular instructions or instruction types) in theapplication code 50 which define or constitute or otherwise represent an initialization operation or routine (or other similar memory, resource, data, or code initialization routine or operation). In the JAVA language, such program steps may for example comprise or consist of some part of, or all of, a “<init>” or “<clinit>” method of an object or class, and optionally any other code, routine, or method related to a “<init>” or “<clinit>” method, for example by means of a method invocation from the body of the “<init>” of “<clinit>” method to a different method. - This analysis or scrutiny of the
application code 50 may take place either prior to loading theapplication program code 50, or during theapplication program code 50 loading procedure, or even after theapplication program code 50 loading procedure. It may be likened to an instrumentation, program transformation, translation, or compilation procedure in that the application code may be instrumented with additional instructions, and/or otherwise modified by meaning-preserving program manipulations, and/or optionally translated from an input code language to a different code language (such as for example from source-code language or intermediate-code language to object-code language or machine-code language), and with the understanding that the term compilation normally or conventionally involves a change in code or language, for example, from source code to object code or from one language to another language. However, in the present instance the term “compilation” (and its grammatical equivalents) is not so restricted and can also include or embrace modifications within the same code or language. For example, the compilation and its equivalents are understood to encompass both ordinary compilation (such as for example by way of illustration but not limitation, from source-code to object-code), and compilation from source-code to source-code, as well as compilation from object-code to object-code, and any altered combinations therein. It is also inclusive of so-called “intermediary-code languages” which are a form of “pseudo object-code”. - By way of illustration and not limitation, in one embodiment, the analysis or scrutiny of the
application code 50 may take place during the loading of the application program code such as by the operating system reading the application code from the hard disk or other storage device or source and copying it into memory and preparing to begin execution of the application program code. In another embodiment, in a JAVA virtual machine, the analysis or scrutiny may take place during the class loading procedure of the java.lang.ClassLoader loadClass method (e.g., “java.lang.ClassLoader.loadClass( )”). - Alternatively, the analysis or scrutiny of the
application code 50 may take place even after the application program code loading procedure, such as after the operating system has loaded the application code into memory, or optionally even after execution of the application program code has started or commenced, such as for example after the JAVA virtual machine has loaded the application code into the virtual machine via the “java.lang.ClassLoader.loadClass( )” method and optionally commenced execution. - As a consequence, of the above described analysis or scrutiny, initialization routines (for example <clinit> class initialisation methods and <init> object initialization methods) are initially looked for, and when found or identified a modifying code is inserted, so as to give rise to a modified initialization routine. This modified routine is adapted and written to initialize the
class 50A on one of the machines, forexample JVM# 1, and tell, notify, or otherwise communicate to all the other machines M2, . . . , Mn that such aclass 50A exists and optionally its initialized state. There are several different alternative modes wherein this modification and loading can be carried out. - Thus, in one mode, the
DRT 71/1 on the loading machine, in this example Java Virtual Machine M1 (JVM#1), asks the DRT's 71/2 . . . 71/n of all the other machines M1, . . . , Mn if the similar equivalentfirst class 50A is initialized (i.e. has already been initialized) on any other machine. If the answer to this question is yes (that is, a similarequivalent class 50A has already been initialized on another machine), then the execution of the initialization procedure is aborted, paused, terminated, turned off or otherwise disabled for theclass 50A onmachine JVM# 1. If the answer is no (that is, a similarequivalent class 50A has not already been initialised on another machine), then the initialization operation is continued (or resumed, or started, or commenced and theclass 50A is initialized and optionally the consequential changes (such as for example initialized code and data-structures in memory) brought about during that initialization procedure are transferred to each similar equivalent local class on each one of the other machines as indicated byarrows 83 inFIG. 8 . - A similar procedure happens on each occasion that an object, say 50X, 50Y or 50Z is to be loaded and initialized. Where the
DRT 71/1 of the loading machine, in this example Java Machine M1 (JVM#1), does not discern, as a result of interrogation of the other machines M2 . . . Mn that, a similar equivalent object to the particular object to be initialized on machine M1, sayobject 50Y, has already been initialised by another machine, then theDRT 71/1 on machine M1 may execute the object initialization routine corresponding to object 50Y, and optionally each of the other machines M2 . . . Mn may load a similar equivalent local object (which may conveniently be termed a peer object) and associated consequential changes (such as for example initialized data, initialized code, and/or initialized system or resources structures) brought about by the execution of the initialization operation on machine M1. However, if theDRT 71/1 of machine M1 determines that a similar equivalent object to theobject 50Y in question has already been initialization on another machine of the plurality of machines (say for example machine M2), then the execution by machine M1 of the initialization function, procedure, or routine corresponding to object 50Y is not started or commenced, or is otherwise aborted, terminated, turned off or otherwise disabled, and object 50Y on machine M1 is loaded, and preferably but optionally the consequential changes (such as for example initialized data, initialized code, and/or other initialized system or resource structures) brought about by the execution of the initialization routine by machine M2, is loaded on machine M1 corresponding to object 50Y. Again there are various ways of bringing about the desired result. - Preferably, execution of the initialization routine is allocated to one machine, such as the first machine M1 to load (and optionally seek to initialize) the object or class. The execution of the initialization routine corresponding to the determination that a particular class or object (and any similar equivalent local classes or objects on each of the machines M1 . . . Mn) is not already initialized, is to execute only once with respect to all machines M1 . . . Mn, and preferably by only one machine, on behalf of all machines M1 . . . Mn. Corresponding to, and preferably following, the execution of the initialization routine by one machine (say machine M1), all other machines may then each load a similar equivalent local object (or class) and optionally load the consequential changes (such as for example initialized data, initialized code, and/or other initialized system or resource structures) brought about by the execution of the initialization operation by machine M1.
- As seen in
FIG. 15 a modification to the general arrangement ofFIG. 8 is provided in that machines M1, M2 . . . Mn are as before and run the same application code 50 (or codes) on all machines M1, M2 . . . Mn simultaneously or concurrently. However, the previous arrangement is modified by the provision of a server machine X which is conveniently able to supply housekeeping functions, for example, and especially the initialisation of structures, assets, and resources. Such a server machine X can be a low value commodity computer such as a PC since its computational load is low. As indicated by broken lines inFIG. 15 , two server machines X and X+1 can be provided for redundancy purposes to increase the overall reliability of the system. Where two such server machines X and X+1 are provided, they are preferably but optionally operated as redundant machines in a failover arrangement. - It is not necessary to provide a server machine X as its computational load can be distributed over machines M1, M2 . . . Mn. Alternatively, a database operated by one machine (in a master/slave type operation) can be used for the housekeeping function(s).
-
FIG. 16 shows a preferred general procedure to be followed. After aloading step 161 has been commenced, the instructions to be executed are considered in sequence and all initialization routines are detected as indicated instep 162. In the JAVA language these are the object initialisation methods (e.g. “<init>”) and class initialisation methods (e.g. “<clinit>”). Other languages use different terms. - Where an initialization routine is detected in
step 162, it is modified instep 163 in order to perform consistent, coordinated, and coherent initialization operation (such as for example initialization of data structures and code structures) across and between the plurality of machines M1, M2 . . . Mn, typically by inserting further instructions into the initialisation routine to, for example, determine if a similar equivalent object or class (or other asset) on machines M1 . . . Mn corresponding to the object or class (or asset) to which this initialisation routine corresponds, has already been initialised, and if so, aborting, pausing, terminating, turning off, or otherwise disabling the execution of this initialization routine (and/or initialization operation(s)), or if not then starting, continuing, or resuming the executing the initialization routine (and/or initialization operation(s)), and optionally instructing the other machines M1 . . . Mn to load a similar equivalent object or class and consequential changes brought about by the execution of the initialization routine. Alternatively, the modifying instructions may be inserted prior to the routine, such as for example prior to the instruction(s) or operation(s) which commence initialization of the corresponding class or object. Once themodification step 163 has been completed the loading procedure continues by loading the modified application code in place of the unmodified application code, as indicated instep 164. Altogether, the initialization routine is to be executed only once, and preferably by only one machine, on behalf of all machines M1 . . . Mn corresponding to the determination by all machines M1 . . . Mn that the particular object or class (i.e. the similar equivalent local object or class on each machine M1 . . . Mn corresponding to the particular object or class to which this initialization routine relates) has not been initialized. -
FIG. 17 illustrates a particular form of modification. After commencing the routine instep 171, the structures, assets or resources (in JAVA termed classes or objects) to be initialised are, instep 172, allocated a name or tag (for example a global name or tag) which can be used to identify corresponding similar equivalent local objects on each of the machines M1, . . . , Mn. This is most conveniently done via a table (or similar data or record structure) maintained by server machine X ofFIG. 15 . This table may also include an initialization status of the similar equivalent classes or object to be initialised. It will be understood that this table or other data structure may store only the initialization status, or it may store other status or information as well. - As indicated in
FIG. 17 , ifsteps DRT 71 that the similar equivalent local objects on each other machine corresponding to the global name or tag is not already initialised (i.e., not initialized on a machine other than the machine carrying out the loading and seeking to perform initialization), then this means that the object or class can be initialised, preferably but optionally in the normal fashion, by starting, commencing, continuing, or resuming the execution of, or otherwise executing, the initialization routine, as indicated instep 176, since it is the first of the plurality of similar equivalent local objects or classes of machines M1 . . . Mn to be initialized. - In one embodiment, the initialization routine is stopped from initiating or commencing or beginning execution; however, in some implementations it is difficult or practically impossible to stop the initialization routine from initiating or beginning or commencing execution. Therefore, in an alternative embodiment, the execution of the initialization routine that has already started or commenced is aborted such that it does not complete or does not complete in its normal manner. This alternative abortion is understood to include an actual abortion, or a suspend, or postpone, or pause of the execution of a initialization routine that has started to execute (regardless of the stage of execution before completion) and therefore to make sure that the initialization routine does not get the chance to execute to completion the initialization of the object (or class or other asset)—and therefore the object (or class or other asset) remains “un-initialized” (i.e., “not initialized”).
- However or alternatively, if
steps step 175. -
FIG. 18 , illustrative of one embodiment ofstep 173 ofFIG. 17 , shows the inquiry made by the loading machine (one of M1, M2 . . . Mn) to the server machine X ofFIG. 15 , to enquire as to the initialisation status of the plurality of similar equivalent local objects (or classes) corresponding to the global name. The operation of the loading machine is temporarily interrupted as indicated bystep 181, and corresponding to step 173 ofFIG. 17 , until a reply to this preceding request is received from machine X, as indicated bystep 182. Instep 181 the loading machine sends an inquiry message to machine X to request the initialization status of the object (or class or other asset) to be initialized. Next, the loading machine awaits a reply from machine X corresponding to the inquiry message sent by the proposing machine atstep 181, indicated bystep 182. -
FIG. 19 shows the activity carried out by machine X ofFIG. 15 in response to such an initialization enquiry ofstep 181 ofFIG. 18 . The initialization status is determined insteps step 191, is initialized on another machine (i.e. a machine other than the inquiringmachine 181 from which the initialization status request ofstep 191 originates), where a table of initialisation states is consulted corresponding to the record for the global name and, if the initialisation status record indicates that a similar equivalent local object (or class) on another machine (such as on a one of the machines M1 . . . Mn) and corresponding to global name is already initialised, the response to that effect is sent to the inquiring machine by carrying outstep 194. Alternatively, if the initialisation status record indicates that a similar equivalent local object (or class) on another machine (such as on a one of the plurality of machines M1 . . . Mn) and corresponding to global name is uninitialized, a corresponding reply is sent to the inquiring machine by carrying outsteps step 182 is then able to respond and/or operate accordingly, such as for example by (i) aborting (or pausing, or postponing) execution of the initialization routine when the reply from machine X ofstep 182 indicated that a similar equivalent local object on another machine (such as a one of the plurality of machines M1 . . . Mn) corresponding to the global name of the object proposed to be initialized ofstep 172 is already initialized elsewhere (i.e. is initialized on a machine other than the machine proposing to carry out the initialization); or (ii) by continuing (or resuming, or starting, or commencing) execution of the initialization routine when the reply from machine X ofstep 182 indicated that a similar equivalent local object on the plurality of machines M1 . . . Mn corresponding to the global name of the object proposing to be initialized ofstep 172 is not initialized elsewhere (i.e. not initialized on a machine other than the machine proposing to carry out the initialization). - Reference is made to the accompanying Annexures in which: Annexures A1-A10 illustrate actual code in relation to fields, Annexure B1 is a typical code fragment from an unmodified <clinit> instruction, Annexure B2 is an equivalent in respect of a modified <clinit> instruction, Annexure B3 is a typical code fragment from an unmodified <init> instruction, Annexure B4 is an equivalent in respect of a modified <init> instruction, In addition, Annexure B5 is an alternative to the code of Annexure B2, and Annexure B6 is an alternative to the code of Annexure B4.
- Furthermore, Annexure B7 is the source-code of InitClient which carries out one embodiment of the steps of
FIGS. 17 and 18 , which queries an “initialization server” (for example a machine X) for the initialization status of the specified class or object with respect to the plurality of similar equivalent classes or objects on the plurality of machines M1 . . . Mn. Annexure B8 is the source-code of InitServer which carries out one embodiment of the steps ofFIG. 19 , which receives an initialization status query sent by InitClient and in response returns the corresponding initialization status of the specified class or object. Similarly, Annexure B9 is the source-code of the example application used in the before/after examples of Annexure B1-B6 (Repeated as Tables X through XV). And, Annexure B10 is the source-code of InitLoader which carries out one embodiment of the steps ofFIGS. 16 , 20, and 21, which modifies the example application program code of Annexure B9 in accordance with one mode of this invention. - Annexures B1 and B2 (also reproduced in part in Tables X and XI below) are exemplary code listings that set forth the conventional or unmodified computer program software code (such as may be used in a single machine or computer environment) of an initialization routine of
application program 50 and a post-modification excerpt of the same initialization routine such as may be used in embodiments of the present invention having multiple machines. The modified code that is added to the initialization routine is highlighted in bold text. - It is noted that the disassembled compiled code in the annexure and portion repeated in the table is taken from the source-code of the file “example java” which is included in the Annexure B4 (Table XIII). In the procedure of Annexure B1 and Table X, the procedure name “Method <clinit>” of Step 001 is the name of the displayed disassembled output of the clinit method of the compiled application code “example java”. The method name “<clinit> ” is the name of a class' initialization method in accordance with the JAVA platform specification, and selected for this example to indicate a typical mode of operation of a JAVA initialization method. Overall the method is responsible for initializing the class ‘example’ so that it may be used, and the steps the “example.java” code performs are described in turn.
- First (Step 002) the JAVA virtual machine instruction “
new # 2 <Class example>” causes the JAVA virtual machine to instantiate a new class instance of the example class indicated by the CONSTANT_Classref_info constant_pool item stored in the 2nd index of the classfile structure of the application program containing this example <clinit> method and results in a reference to an newly created object of type ‘example’ being placed (pushed) on the stack of the current method frame of the currently executing thread. - Next (Step 003), the Java Virtual Machine instruction “dup” causes the Java Virtual Machine to duplicate the topmost item of the stack and push the duplicated item onto the topmost position of the stack of the current method frame and results in the reference to the new created ‘example’ object at the top of the stack being duplicated and pushed onto the stack.
- Next (Step 004), the JAVA virtual machine instruction “
invokespecial # 3 <Method example( )>” causes the JAVA virtual machine to pop the topmost item off the stack of the current method frame and invoke the instance initialization method “<init>” on the popped object and results in the “<init>” constructor of the newly created ‘example’ object being invoked. - The Java Virtual Machine instruction “
putstatic # 3 <Field example currentExample>” (Step 005) causes the Java Virtual Machine to pop the topmost value off the stack of the current method frame and store the value in the static field indicated by the CONSTANT_Fieldref_info constant-pool item stored in the 3rd index of the classfile structure of the application program containing this example <clinit> method and results in the reference to the newly created and initialized ‘example’ object on the top of the stack of the current method frame being stored in the static reference field named “currentExample” of class ‘example’. - Finally, the Java Virtual Machine instruction “return” (Step 006) causes the Java Virtual Machine to cease executing this <clinit> method by returning control to the previous method frame and results in termination of execution of this <clinit> method.
- As a result of these steps operating on a single machine of the conventional configurations in
FIG. 1 andFIG. 2 , the JAVA virtual machine can keep track of the initialization status of a class in a consistent, coherent and coordinated manner, and in executing the <clinit> method containing the initialization operations is able to ensure that unwanted behaviour (for example execution of the <init> method of class ‘example.java’ more than once) such as may be caused by inconsistent and/or incoherent initialization operation, does not occur. Were these steps to be carried out on the plurality of machines of the configurations ofFIG. 5 andFIG. 8 with the memory update and propagation replication means ofFIGS. 9 , 10, 11, 12, and 13, and concurrently executing theapplication program code 50 on each one of the plurality of machines M1 . . . Mn, the initialization operations of each concurrently executing application program occurrence on each one of the machines would be performed without coordination between any other of the occurrences on any other of the machine(s). Given the goal of consistent, coordinated and coherent initialization operation across a plurality of a machines, this prior art arrangement would fail to perform such consistent coordinated initialization operation across the plurality of machines, as each machine performs initialization only locally and without any attempt to coordinate their local initialization operation with any other similar initialization operation on any one or more other machines. Such an arrangement would therefore be susceptible to unwanted or other anomalous behaviour due to uncoordinated, inconsistent and/or incoherent initialization states, and associated initialization operation. Therefore it is the goal of the present invention to overcome this limitation of the prior art arrangement. - In the exemplary code in Table XIV (Annexure B5), the code has been modified so that it solves the problem of consistent, coordinated initialization operation for a plurality of machines M1 . . . Mn, that was not solved in the code example from Table X (Annexure B1). In this modified <clinit> method code, an “
Idc # 2 <String “example”>” instruction is inserted before the “new #5” instruction in order to be the first instruction of the <clinit> method. This causes the JAVA virtual machine to load the item in the constant_pool atindex 2 of the current classfile and store this item on the top of the stack of the current method frame, and results in the reference to a String object of value “example” being pushed onto the stack. - Furthermore, the JAVA virtual machine instruction “
invokestatic # 3 <Method Boolean is AlreadyLoaded(java.lang.String)>” is inserted after the “0Idc # 2” instruction so that the JAVA virtual machine pops the topmost item off the stack of the current method frame (which in accordance with the preceding “Idc # 2” instruction is a reference to the String object with the value “example” which corresponds to the name of the class to which this <clinit> method belongs) and invokes the “isAlreadyLoaded” method, passing the popped item to the new method frame as its first argument, and returning a boolean value onto the stack upon return from this “invokestatic” instruction. This change is significant because it modifies the <clinit> method to execute the “isAlreadyLoaded” method and associated operations, corresponding to the start of execution of the <clinit> method, and returns a boolean argument (indicating whether the class corresponding to this <clinit> method is initialized on another machine amongst the plurality of machines M1 . . . Mn) onto the stack of the executing method frame of the <clinit> method. - Next, two JAVA virtual machine instructions “ifeq 9” and “return” are inserted into the code stream after the “2
invokestatic # 3” instruction and before the “new #5” instruction. The first of these two instructions, the “ifeq 9” instruction, causes the JAVA virtual machine to pop the topmost item off the stack and performs a comparison between the popped value and zero. If the performed comparison succeeds (i.e. if and only if the popped value is equal to zero), then execution continues at the “9 new #5” instruction. If however the performed comparison fails (i.e. if and only if the popped value is not equal to zero), then execution continues at the next instruction in the code stream, which is the “8 return” instruction. This change is particularly significant because it modifies the <clinit> method to either continue execution of the <clinit> method (i.e. instructions 9-19) if the returned value of the “isAlreadyLoaded” method was negative (i.e. “false”), or discontinue execution of the <clinit> method (i.e. the “8 return” instruction causing a return of control to the invoker of this <clinit> method) if the returned value of the “isAlreadyLoaded” method was positive (i.e. “true”). - The method void isAlreadyLoaded(java.lang.String), part of the InitClient code of Annexure B7, and part of the distributed runtime system (DRT) 71, performs the communications operations between machines M1 . . . Mn to coordinate the execution of the <clinit> method amongst the machines M1 . . . Mn. The isAlreadyLoaded method of this example communicates with the InitServer code of Annexure B8 executing on a machine X of
FIG. 15 , by means of sending an “initialization status request” to machine X corresponding to the class being “initialized” (i.e. the class to which this <clinit> method belongs). With reference toFIG. 19 and Annexure B8, machine X receives the “initialization status request” corresponding to the class to which the <clinit> method belongs, and consults a table of initialization states or records to determine the initialization state for the class to which the request corresponds. - If the class corresponding to the initialization status request is not initialized on another machine other than the requesting machine, then machine X will send a response indicating that the class was not already initialized, and update a record entry corresponding to the specified class to indicate the class is now initialized. Alternatively, if the class corresponding to the initialization status request is initialized on another machine other than the requesting machine, then machine X will send a response indicating that the class is already initialized. Corresponding to the determination that the class to which this initialization status request pertains is not initialized on another machine other than the requesting machine, a reply is generated and sent to the requesting machine indicating that the class is not initialized. Additionally, machine X preferably updates the entry corresponding to the class to which the initialization status request pertained to indicate the class is now initialized. Following a receipt of such a message from machine X indicating that the class is not initialized on another machine, the isAlreadyLoaded( ) method and operations terminate execution and return a ‘false’ value to the previous method frame, which is the executing method frame of the <clinit> method. Alternatively, following a receipt of a message from machine X indicating that the class is already initialized on another machine, the isAlreadyLoaded( ) method and operations terminate execution and return a “true” value to the previous method frame, which is the executing method frame of the <clinit> method. Following this return operation, the execution of the <clinit> method frame then resumes as indicated in the code sequence of Annexure B5 at step 004.
- It will be appreciated that the modified code permits, in a distributed computing environment having a plurality of computers or computing machines, the coordinated operation of initialization routines or other initialization operations between and amongst machines M1 . . . Mn so that the problems associated with the operation of the unmodified code or procedure on a plurality of machines M1 . . . Mn (such as for example multiple initialization operation, or re-initialization operation) does not occur when applying the modified code or procedure.
- Similarly, the procedure followed to modify an <init> method relating to objects so as to convert from the code fragment of Annexure B3 (See Table XII) to the code fragment of Annexure B6 (See Table XV) is indicated.
- Annexures B3 and B6 (also reproduced in part in Tables XII and XV below) are exemplary code listings that set forth the conventional or unmodified computer program software code (such as may be used in a single machine or computer environment) of an initialization routine of
application program 50 and a post-modification excerpt of the same initialization routine such as may be used in embodiments of the present invention having multiple machines. The modified code that is added to the initialization routine is highlighted in bold text. - It is noted that the disassembled compiled code in the annexure and portion repeated in the table is taken from the source-code of the file “example.java” which is included in the Annexure B4. In the procedure of Annexure B1 and Table XI, the procedure name “Method <init>” of Step 001 is the name of the displayed disassembled output of the init method of the compiled application code “example Java”. The method name “<init>” is the name of an object's initialization method (or methods, as there may be more than one) in accordance with the JAVA platform specification, and selected for this example to indicate a typical mode of operation of a JAVA initialization method. Overall the method is responsible for initializing an ‘example’ object so that it may be used, and the steps the “example.java” code performs are described in turn.
- The Java Virtual Machine instruction “aload_0” (Step 002) causes the Java Virtual Machine to load the item in the local variable array al index 0 of the current method frame and store this item on the top of the stack of the current method frame and results in the ‘this’ object reference stored in the local variable array at index 0 being pushed onto the stack.
- Next (Step 003), the JAVA virtual machine instruction “
invokespecial # 1 <Method java.lang.Object( )>” causes the JAVA virtual machine to pop the topmost item off the stack of the current method frame and invoke the instance initialization method “<init>” on the popped object and results in the “<init>” constructor (or method) of the ‘example’ object's superclass being invoked. - The Java Virtual Machine instruction “aload_0” (Step 004) causes the Java Virtual Machine to load the item in the local variable array at index 0 of the current method frame and store this item on the top of the stack of the current method frame and results in the ‘this’ object reference stored in the local variable array at index 0 being pushed onto the stack.
- Next (Step 005), the JAVA virtual machine instruction “
invokestatic # 2 <Method long currentTimeMillis( )>” causes the JAVA virtual machine to invoke the “currentTimeMillis( )” method of the java.lang.System class, and results in a long value pushed onto the top of the stack corresponding to the return value from the currentTimeMillis( ) method invocation. - The Java Virtual Machine instruction “
putfield # 3 <Field long timestamp>” (Step 006) causes the Java Virtual Machine to pop the two topmost values off the stack of the current method frame and store the topmost value in the object instance field of the second popped value, indicated by the CONSTANT_Fieldref_info constant-pool item stored in the 3rd index of the classfile structure of the application program containing this example <init> method, and results in the long value on the top of the stack of the current method frame being stored in the instance field named “timestamp” of the object reference below the long value on the stack. - Finally, the Java Virtual Machine instruction “return” (Step 007) causes the Java Virtual Machine to cease executing this <init> method by returning control to the previous method frame and results in termination of execution of this <init> method.
- As a result of these steps operating on a single machine of the conventional configurations in
FIG. 1 andFIG. 2 , the JAVA virtual machine can keep track of the initialization status of an object in a consistent, coherent and coordinated manner, and in executing the <init> method containing the initialization operations is able to ensure that unwanted behaviour (for example execution of the <init> method of a single ‘example.java’ object more than once, or re-initialization of the same object) such as may be caused by inconsistent and/or incoherent initialization operation, does not occur. Were these steps to be carried out on the plurality of machines of the configurations ofFIG. 5 andFIG. 8 with the memory update and propagation replication means ofFIGS. 9 , 10, 11, 12, and 13, and concurrently executing theapplication program code 50 on each one of the plurality of machines M1 . . . Mn, the initialization operations of each concurrently executing application program occurrence on each one of the machines would be performed without coordination between any other of the occurrences on any other of the machine(s). Given the goal of consistent, coordinated and coherent initialization operation across a plurality of a machines, this prior art arrangement would fail to perform such consistent coordinated initialization operation across the plurality of machines, as each machine performs initialization only locally and without any attempt to coordinate their local initialization operation with any other similar initialization operation on any one or more other machines. Such an arrangement would therefore be susceptible to unwanted or other anomalous behaviour due to uncoordinated, inconsistent and/or incoherent initialization states, and associated initialization operation. Therefore it is the goal of the present invention to overcome this limitation of the prior art arrangement. - In the exemplary code in Table XV (Annexure B6), the code has been modified so that it solves the problem of consistent, coordinated initialization operation for a plurality of machines M1 . . . Mn, that was not solved in the code example from Table XII(Annexure B3). In this modified <init> method code, an “aload_0” instruction is inserted after the “1
invokespecial # 1” instruction, as the “invokespecial # 1” instruction must execute before the object may be further used. This inserted “aload_0” instruction causes the JAVA virtual machine to load the item in the local variable array at index 0 of the current method frame and store this item on the top of the stack of the current method frame, and results in the object reference to the ‘this’ object at index 0 being pushed onto the stack. - Furthermore, the JAVA virtual machine instruction “
invokestatic # 3 <Method Boolean is AlreadyLoaded(java.lang.Object)>” is inserted after the “4 aload_0” instruction so that the JAVA virtual machine pops the topmost item off the stack of the current method frame (which in accordance with the preceding “aload_0” instruction is a reference to the object to which this <init> method belongs) and invokes the “isAlreadyLoaded” method, passing the popped item to the new method frame as its first argument, and returning a boolean value onto the stack upon return from this “invokestatic” instruction. This change is significant because it modifies the <init> method to execute the “isAlreadyLoaded” method and associated operations, corresponding to the start of execution of the <init> method, and returns a boolean argument (indicating whether the object corresponding to this <init> method is initialized on another machine amongst the plurality of machines M1 . . . Mn) onto the stack of the executing method frame of the <init> method. - Next, two JAVA virtual machine instructions “
ifeq 13” and “return” are inserted into the code stream after the “5invokestatic # 2” instruction and before the “12 aload_0” instruction. The first of these two instructions, the “ifeq 13” instruction, causes the JAVA virtual machine to pop the topmost item off the stack and performs a comparison between the popped value and zero. If the performed comparison succeeds (i.e. if and only if the popped value is equal to zero), then execution continues at the “12 aload_0” instruction. If however the performed comparison fails (i.e. if and only if the popped value is not equal to zero), then execution continues at the next instruction in the code stream, which is the “11 return” instruction. This change is particularly significant because it modifies the <init> method to either continue execution of the <init> method (i.e. instructions 12-19) if the returned value of the “isAlreadyLoaded” method was negative (i.e. “false”), or discontinue execution of the <init> method (i.e. the “11 return” instruction causing a return of control to the invoker of this <init> method) if the returned value of the “isAlreadyLoaded” method was positive (i.e. “true”). - The method void isAlreadyLoaded(java.lang.Object), part of the InitClient code of Annexure B7, and part of the distributed runtime system (DRT) 71, performs the communications operations between machines M1 . . . Mn to coordinate the execution of the <init> method amongst the machines M1 . . . Mn. The isAlreadyLoaded method of this example communicates with the Initserver code of Annexure B8 executing on a machine X of
FIG. 15 , by means of sending an “initialization status request” to machine X corresponding to the object being “initialized” (i.e. the object to which this <clinit> method belongs). With reference toFIG. 19 and Annexure B8, machine X receives the “initialization status request” corresponding to the object to which the <clinit> method belongs, and consults a table of initialization states or records to determine the initialization state for the object to which the request corresponds. - If the object corresponding to the initialization status request is not initialized on another machine other than the requesting machine, then machine X will send a response indicating that the object was not already initialized, and update a record entry corresponding to the specified object to indicate the object is now initialized. Alternatively, if the object corresponding to the initialization status request is initialized on another machine other than the requesting machine, then machine X will send a response indicating that the object is already initialized. Corresponding to the determination that the object to which this initialization status request pertains is not initialized on another machine other than the requesting machine, a reply is generated and sent to the requesting machine indicating that the object is not initialized. Additionally, machine X preferably updates the entry corresponding to the object to which the initialization status request pertained to indicate the object is now initialized. Following a receipt of such a message from machine X indicating that the object is not initialized on another machine, the isAlreadyLoaded( ) method and operations terminate execution and return a ‘false’ value to the previous method frame, which is the executing method frame of the <init> method. Alternatively, following a receipt of a message from machine X indicating that the object is already initialized on another machine, the isAlreadyLoaded( ) method and operations terminate execution and return a “true” value to the previous method frame, which is the executing method frame of the <init> method. Following this return operation, the execution of the <init> method frame then resumes as indicated in the code sequence of Annexure B5 at step 006.
- It will be appreciated that the modified code permits, in a distributed computing environment having a plurality of computers or computing machines, the coordinated operation of initialization routines or other initialization operations so that the problems associated with the operation of the unmodified code or procedure on a plurality of machines M1. Mn (such as for example multiple initialization, or re-initialization operation) does not occur when applying the modified code or procedure.
- Annexure B1 is a before-modification excerpt of the disassembled compiled form of the <clinit> method of the example.java application of Annexure B9. Annexure B2 is an after-modification form of Annexure B1, modified by InitLoader.java of Annexure B10 in accordance with the steps of
FIG. 20 . Annexure B3 is a before-modification excerpt of the disassembled compiled form of the <init> method of the example.java application of Annexure B9. Annexure B4 is an after-modification form of Annexure B3, modified by InitLoader.java of Annexure B10 in accordance with the steps ofFIG. 21 . Annexure B5 is an alternative after-modification form of Annexure B1, modified by InitLoader.java of Annexure B10 in accordance with the steps ofFIG. 20 . And Annexure B6 is an alternative after-modification form of Annexure B3, modified by InitLoader.java of Annexure B10 in accordance with the steps ofFIG. 21 . The modifications are highlighted in bold. -
TABLE X Annexure B1 B1 Method <clinit> 0 new # 2 <Class example>3 dup 4 invokespecial # 3 <Method example( )>7 putstatic # 4 <Field example currentExample>10 return -
TABLE XI Annexure B2 B2 Method <clinit> 0 invokestatic # 3 <Method boolean isAlreadyLoaded( )>3 ifeq 76 return 7 new #5 <Class example> 10 dup 11 invokespecial # 6 <Method example( )>14 putstatic # 7 <Field example example>17 return -
TABLE XII Annexure B3 B3 Method <init> 0 aload_0 1 invokespecial # 1 <Method java.lang.Object( )>4 aload_0 5 invokestatic # 2 <Method long currentTimeMillis( )>8 putfield # 3 <Field long timestamp>11 return -
TABLE XIII Annexure B4 B4 Method <init> 0 aload_0 1 invokespecial # 1 <Method java.lang.Object( )>4 invokestatic # 2 <Method boolean isAlreadyLoaded( )>7 ifeq 11 10 return 11 aload_0 12 invokestatic # 4 <Method long currentTimeMillis( )>15 putfield #5 <Field long timestamp> 18 return -
TABLE XIV Annexure B5 B5 Method <clinit> 0 ldc # 2 <String “example”>2 invokestatic # 3 <Method boolean isAlreadyLoaded(java.lang.String)>5 ifeq 9 8 return 9 new #5 <Class example> 12 dup 13 invokespecial # 6 <Method example( )>16 putstatic # 7 <Field example currentExample>19 return -
TABLE XV Annexure B6 B6 Method <init> 0 aload_0 1 invokespecial # 1 <Method java.lang.Object( )>4 aload_0 5 invokestatic # 2<Method boolean isAlreadyLoaded(java.lang.Object)> 8 ifeq 1211 return 12 aload_0 13 invokestatic # 4 <Method long currentTimeMillis( )>16 putfield #5 <Field long timestamp> 19 return - Turning now to
FIGS. 20 and 21 , the procedure followed to modify class initialisation routines (i.e., the “<clinit>” method) and object initialization routines (i.e. the “<init>” method) is presented. The procedure followed to modify a <clinit> method relating to classes so as to convert from the code fragment of Annexure B1 (See Table X) to the code fragment of Annexure B5 (See Table XIV) is indicated. - Similarly, the procedure followed to modify an object initialization <init> method relating to objects so as to convert from the code fragment of Annexure B3 (See Table XII) to the code fragment of Annexure B6 (See Table XV) is indicated.
- The initial loading of the application code 50 (an illustrative example in source-code form of which is displayed in Annexure B9, and a corresponding partially disassembled form of which is displayed in Annexure B1 (See also Table X) and Annexure B3 (See also Table XII)) onto the JAVA
virtual machine 72 is commenced atstep 201, and the code is analysed or scrutinized in order to detect one or more class initialization instructions, code-blocks or methods (i.e. “<clinit>” methods) by carrying outstep 202, and/or one or more object initialization instructions, code-blocks, or methods (i.e. “<init>” methods) by carrying outstep 212. Once so detected, an <clinit> method is modified by carrying outstep 203, and an <init > method is modified by carrying outstep 213. One example illustration for a modified class initialisation routine is indicated in Annexure B2 (See also Table XI), and a further illustration of which is indicated in Annexure B5 (See also Table XIV). One example illustration for a modified object initialisation routine is indicated in Annexure B4 (See also Table XIII), and a further illustration of which is indicated in Annexure B6 (See also Table XV). As indicated bystep 204 and 214, after the modification is completed the loading procedure is then continued such that the modified application code is loaded into or onto each of the machines instead of the unmodified application code. - Annexure B1 (See also Table X) and Annexure B2 (See also Table XI) are the before (or pre-modification or unmodified code) and after (or post-modification or modified code) excerpt of a class initialisation routine (i.e. a “<clinit>” method) respectively. Additionally, a further example of an alternative modified <clinit> method is illustrated in Annexure B5 (See also Table XIV). The modified code that is added to the method is highlighted in bold. In the unmodified partially disassembled code sample of Annexure B1, the “
new # 2” and “invokespecial # 3” instructions of the <clinit> method creates a new object (of the type ‘example’), and the following instruction “putstatic # 4” writes the reference of this newly created object to the memory location (field) called “currentExample”. Thus, without management of coordinated class initialisation in a distributed environment of a plurality of machines M1, . . . , Mn, and each with a memory updating and propagation means ofFIGS. 9 , 10, 11, 12, and 13, whereby theapplication program code 50 is to operate as a single coordinated, consistent, and coherent instance across the plurality of machines M1 . . . Mn, each computer or computing machine would re-initialise (and optionally alternatively re-write or over-write) the “currentExample” memory location (field) with multiple and different objects corresponding to the multiple executions of the <clinit> method, leading to potentially incoherent or inconsistent memory between and amongst the occurrences of theapplication program code 50 on each of the machines M1, . . . , Mn. Clearly this is not what the programmer or user of a singleapplication program code 50 instance expects to happen. - So, taking advantage of the DRT, the
application code 50 is modified as it is loaded into the machine by changing the class initialisation routine (i.e., the <clinit> method). The changes made (highlighted in bold) are the initial instructions that the modified <clinit> method executes. These added instructions determine the initialization status of this particular class by checking if a similar equivalent local class on another machine corresponding to this particular class, has already been initialized and optionally loaded, by calling a routine or procedure to determine the initialization status of the plurality of similar equivalent classes, such as the “is already loaded” (e.g., “isAlreadyLoaded( )”) procedure or method. The “isAlreadyLoaded( )” method of InitClient of Annexure B7 ofDRT 71 performing the steps of 172-176 ofFIG. 17 determines the initialization status of the similar equivalent local classes each on a one of the machines M1, . . . , Mn corresponding to the particular class being loaded, the result of which is either a true result or a false result corresponding to whether or not another one (or more) of the machines M1. Mn have already initialized, and optionally loaded, a similar equivalent class. - The initialisation determination procedure or method “isAlreadyLoaded( )” of InitClient of Annexure B7 of the
DRT 71 can optionally take an argument which represents a unique identifier for this class (See Annexure B5 and Table XIV). For example, the name of the class that is being considered for initialisation, a reference to the class or class-object representing this class being considered for initialization, or a unique number or identifier representing this class across all machines (that is, a unique identifier corresponding to the plurality of similar equivalent local classes each on a one of the plurality of machines M1 . . . Mn), to be used in the determination of the initialisation status of the plurality of similar equivalent local classes on each of the machines M1 . . . Mn. This way, the DRT can support the initialization of multiple classes at the same time without becoming confused as to which of the multiple classes are already loaded and which are not, by using the unique identifier of each class. - The
DRT 71 can determine the initialization status of the class in a number of possible ways. Preferably, the requesting machine can ask each other requested machine in turn (such as by using a computer communications network to exchange query and response messages between the requesting machine and the requested machine(s)) if the requested machine's similar equivalent local class corresponding to the unique identifier is initialized, and if any requested machine replies true indicating that the similar equivalent local class has already been initialized, then return a true result at return from the isAlreadyLoaded( ) method indicating that the local class should not be initialized, otherwise return a false result at return from the isAlreadyLoaded( ) method indicating that the local class should be initialized. Of course different logic schemes for true or false results may alternatively be implemented with the same effect. Alternatively, the DRT on the local machine can consult a shared record table (perhaps on a separate machine (eg machine X), or a coherent shared record table on each local machine and updated to remain substantially identical, or in a database) to determine if one of the plurality of similar equivalent classes on other machines has been initialised. - If the isAlreadyLoaded( ) method of the
DRT 71 returns false, then this means that this class (of the plurality of similar equivalent local classes on the plurality of machines M1 . . . Mn) has not been initialized before on any other machine in the distributed computing environment of the plurality of machines M1 . . . Mn, and hence, the execution of the class initialisation method is to take place or proceed as this is considered the first and original initialization of a class of the plurality of similar equivalent classes on each machine. As a result, when a shared record table of initialisation states exists, the DRT must update the initialisation status record corresponding to this class in the shared record table to true or other value indicating that this class is initialized, such that subsequent consultations of the shared record table of initialisation states (such as performed by all subsequent invocations of isAlreadyLoaded method) by all machines, and optionally including the current machine, will now return a true value indicating that this class is already initialized. Thus, if isAlreadyLoaded( ) returns false, the modified class initialisation routine resumes or continues (or otherwise optionally begins or starts) execution. - On the other hand, if the isAlreadyLoaded method of the
DRT 71 returns true, then this means that this class (of the plurality of similar equivalent local classes each on one of the plurality of machines M1 . . . Mn) has already been initialised in the distributed environment, as recorded in the shared record table on machine X of the initialisation states of classes. In such a case, the class initialisation method is not to be executed (or alternatively resumed, or continued, or started, or executed to completion), as it will potentially cause unwanted interactions or conflicts, such as re-initialization of memory, data structures or other machine resources or devices. Thus, when the DRT returns true, the inserted instructions at the start of the <clinit> method prevent execution of the initialization routine (optionally in whole or in part) by aborting the start or continued execution of the <clinit> method through the use of the return instruction, and consequently aborting the JAVA Virtual Machine's initialization operation for this class. - An equivalent procedure for the initialization routines of object (for example “<init>” methods) is illustrated in
FIG. 21 wheresteps steps FIG. 20 . This results in the code of Annexure B3 being converted into the code of Annexure B4 (See also Table XIII) or Annexure B6 (See also Table XV). - Annexure B3 (See also Table XII) and Annexure B4 (See also Table XIV) are the before (or pre-modification or unmodified code) and after (or post-modification or modified code) excerpt of a object initialisation routine (i.e. a “<init>” method) respectively. Additionally, a further example of an alternative modified <init> method is illustrated in Annexure B6 (See also Table XV). The modified code that is added to the method is highlighted in bold. In the unmodified partially disassembled code sample of Annexure B4, the “aload_0” and “
invokespecial # 3” instructions of the <init> method invokes the <init> of the java.lang.Object superclass. Next, the following instructions “aload_0” loads a reference to the ‘this’ object onto the stack to be one of the arguments to the “8putfield # 3” instruction. Next, the following instruction “invokestatic # 2” invokes the method java.lang.System.currentTimeMillis( ) and returns a long value on the stack. Next the following instruction “putfield # 3” writes the long value placed on the stack be the preceding “invokestatic # 2” instruction to the memory location (field) called “timestamp” corresponding to the object instance loaded on the stack by the “4 aload_0” instruction. Thus, without management of coordinated object initialisation in a distributed environment of a plurality of machines M1, . . . , Mn, and each with a memory updating and propagation means ofFIGS. 9 , 10, 11, 12, and 13, whereby theapplication program code 50 is to operate as a single coordinated, consistent, and coherent instance across the plurality of machines M1 . . . Mn, each computer or computing machine would re-initialise (and optionally alternatively re-write or over-write) the “timestamp” memory location (field) with multiple and different values corresponding to the multiple executions of the <init> method, leading to potentially incoherent or inconsistent memory between and amongst the occurrences ofapplication program code 50 on each of the machines M1, . . . , Mn. Clearly this is not what the programmer or user of a singleapplication program code 50 instance expects to happen. - So, taking advantage of the DRT, the
application code 50 is modified as it is loaded into the machine by changing the object initialisation routine (i.e. the <init> method). The changes made (highlighted in bold) are the initial instructions that the modified <init> method executes. These added instructions determine the initialisation status of this particular object by checking if a similar equivalent local object on another machine corresponding to this particular object, has already been initialized and optionally loaded, by calling a routine or procedure to determine the initialisation status of the object to be initialised, such as the “is already loaded” (e.g., “isAlreadyLoaded( )”) procedure or method of Annexure B7. The “isAlreadyLoaded( )” method ofDRT 71 performing the steps of 172-176 ofFIG. 17 determines the initialization status of the similar equivalent local objects each on a one of the machines M1, . . . , Mn corresponding to the particular object being loaded, the result of which is either a true result or a false result corresponding to whether or not another one (or more) of the machines M1 . . . Mn have already initialized, and optionally loaded, this object. - The initialisation determination procedure or method “isAlreadyLoaded( )” of the
DRT 71 can optionally take an argument which represents a unique identifier for this object (See Annexure B6 and Table XV). For example, the name of the object that is being considered for initialisation, a reference to the object being considered for initialization, or a unique number or identifier representing this object across all machines (that is, a unique identifier corresponding to the plurality of similar equivalent local objects each on a one of the plurality of machines M1 . . . Mn), to be used in the determination of the initialisation status of this object in the plurality of similar equivalent local objects on each of the machines M1 . . . Mn. This way, the DRT can support the initialization of multiple objects at the same time without becoming confused as to which of the multiple objects are already loaded and which are not, by using the unique identifier of each object. - The
DRT 71 can determine the initialization status of the object in a number of possible ways. Preferably, the requesting machine can ask each other requested machine in turn (such as by using a computer communications network to exchange query and response messages between the requesting machine and the requested machine(s)) if the requested machine's similar equivalent local object corresponding to the unique identifier is initialized, and if any requested machine replies true indicating that the similar equivalent local object has already been initialized, then return a true result at return from the isAlreadyLoaded( ) method indicating that the local object should not be initialized, otherwise return a false result at return from the isAlreadyLoaded( ) method indicating that the local object should be initialized. Of course different logic schemes for true or false results may alternatively be implemented with the same effect. Alternatively, the DRT on the local machine can consult a shared record table (perhaps on a separate machine (eg machine X), or a coherent shared record table on each local machine and updated to remain substantially identical, or in a database) to determine if this particular object (or any one of the plurality of similar equivalent objects on other machines) has been initialised by one of the requested machines. - If the isAlreadyLoaded( ) method of the
DRT 71 returns false, then this means that this object (of the plurality of similar equivalent local objects on the plurality of machines M1 . . . Mn) has not been initialized before on any other machine in the distributed computing environment of the plurality of machines M1 . . . Mn, and hence, the execution of the object initialisation method is to take place or proceed as this is considered the first and original initialization. As a result, when a shared record table of initialisation states exists, the DRT must update the initialisation status record corresponding to this object in the shared record table to true or other value indicating that this object is initialized, such that subsequent consultations of the shared record table of initialisation states (such as performed by all subsequent invocations of is AlreadyLoaded method) by all machines, and including the current machine, will now return a true value indicating that this object is already initialized. Thus, if isAlreadyLoaded( ) returns false, the modified object initialisation routine resumes or continues (or otherwise optionally begins or starts) execution. - On the other hand, if the isAlreadyLoaded method of the
DRT 71 returns true, then this means that this object (of the plurality of similar equivalent local objects each on one of the plurality of machines M1 . . . Mn) has already been initialised in the distributed environment, as recorded in the shared record table on machine X of the initialisation states of objects. In such a case, the object initialisation method is not to be executed (or alternatively resumed, or continued, or started, or executed to completion), as it will potentially cause unwanted interactions or conflicts, such as re-initialization of memory, data structures or other machine resources or devices. Thus, when the DRT returns true, the inserted instructions near the start of the <init> method prevent execution of the initialization routine (optionally in whole or in part) by aborting the start or continued execution of the <init> method through the use of the return instruction, and consequently aborting the JAVA Virtual Machine's initialization operation for this object. - A similar modification as used for <clinit> is used for <init>. The application program's<init> method (or methods, as there may be multiple) is or are detected as shown by
step 212 and modified as shown bystep 213 to behave coherently across the distributed environment. - The disassembled instruction sequence after modification has taken place is set out in Annexure B4 (and an alternative similar arrangement is provided in Annexure B6) and the modified/inserted instructions are highlighted in bold. For the <init> modification, unlike the <clinit> modification, the modifying instructions are often required to be placed after the “invokespecial” instruction, instead of at the very beginning. The reasons for this are driven by the JAVA Virtual Machine specification. Other languages often have similar subtle design nuances.
- Given the fundamental concept of testing to determine if initialization has already been carried out on a one of a plurality of similar equivalent classes or object or other asset each on a one of the machines M1 . . . Mn, and if not carrying out the initialization, and if so, not carrying out the initialization; there are several different ways or embodiments in which this coordinated and coherent initialization concept, method, and procedure may be carried out or implemented.
- In the first embodiment, a particular machine, say machine M2, loads the asset (such as class or object) inclusive of an initialisation routine, modifies it, and then loads each of the other machines M1, M3, . . . , Mn (either sequentially or simultaneously or according to any other order, routine or procedure) with the modified object (or class or other asset or resource) inclusive of the new modified initialization routine(s). Note that there may be one or a plurality of routines corresponding to only one object in the application code, or there may be a plurality of routines corresponding to a plurality of objects in the application code. Note that in one embodiment, the initialization routine(s) that is (are) loaded is binary executable object code. Alternatively, the initialization routine(s) that is (are) loaded is executable intermediary code.
- In this arrangement, which may be termed “master/slave” each of the slave (or secondary) machines M1, M3, . . . , Mn loads the modified object (or class), and inclusive of the new modified initialisation routine(s), that was sent to it over the computer communications network or other communications link or path by the master (or primary) machine, such as machine M2, or some other machine such as a machine X of
FIG. 15 . In a slight variation of this “master/slave” or “primary/secondary” arrangement, the computer communications network can be replaced by a shared storage device such as a shared file system, or a shared document/file repository such as a shared database. - Note that the modification performed on each machine or computer need not and frequently will not be the same or identical. What is required is that they are modified in a similar enough way that in accordance with the inventive principles described herein, each of the plurality of machines behaves consistently and coherently relative to the other machines to accomplish the operations and objectives described herein. Furthermore, it will be appreciated in light of the description provided herein that there are a myriad of ways to implement the modifications that may for example depend on the particular hardware, architecture, operating system, application program code, or the like or different factors. It will also be appreciated that embodiments of the invention may be implemented within an operating system, outside of or without the benefit of any operating system, inside the virtual machine, in an EPROM, in software, in firmware, or in any combination of these.
- In a further variation of this “master/slave” or “primary/secondary” arrangement, machine M2 loads asset (such as class or object) inclusive of an (or even one or more) initialization routine in unmodified form on machine M2, and then (for example, machine M2 or each local machine) modifies the class (or object or asset) by deleting the initialization routine in whole or part from the asset (or class or object) and loads by means of a computer communications network or other communications link or path the modified code for the asset with the now modified or deleted initialization routine on the other machines. Thus in this instance the modification is not a transformation, instrumentation, translation or compilation of the asset initialization routine but a deletion of the initialization routine on all machines except one.
- The process of deleting the initialization routine in its entirety can either be performed by the “master” machine (such as machine M2 or some other machine such as machine X of
FIG. 15 ) or alternatively by each other machine M1, M3, . . . , Mn upon receipt of the unmodified asset. An additional variation of this “master/slave” or “primary/secondary” arrangement is to use a shared storage device such as a shared file system, or a shared document/file repository such as a shared database as means of exchanging the code (including for example, the modified code) for the asset, class or object between machines M1, M2, . . . , Mn and optionally a machine X ofFIG. 15 . - In a still further embodiment, each machine M1, . . . , Mn receives the unmodified asset (such as class or object) inclusive of one or more initialization routines, but modifies the routines and then loads the asset (such as class or object) consisting of the now modified routines. Although one machine, such as the master or primary machine may customize or perform a different modification to the initialization routine sent to each machine, this embodiment more readily enables the modification carried out by each machine to be slightly different and to be enhanced, customized, and/or optimized based upon its particular machine architecture, hardware, processor, memory, configuration, operating system, or other factors, yet still similar, coherent and consistent with other machines with all other similar modifications and characteristics that may not need to be similar or identical.
- In a further arrangement, a particular machine, say M1, loads the unmodified asset (such as class or object) inclusive of one or more initialisation routine and all other machines M2, M3, . . . , Mn perform a modification to delete the initialization routine of the asset (such as class or object) and load the modified version.
- In all of the described instances or embodiments, the supply or the communication of the asset code (such as class code or object code) to the machines M1, . . . , Mn, and optionally inclusive of a machine X of
FIG. 15 , can be branched, distributed or communicated among and between the different machines in any combination or permutation: such as by providing direct machine to machine communication (for example, M2 supplies each of M1, M3, M4, etc. directly), or by providing or using cascaded or sequential communication (for example, M2 supplies M1 which then supplies M3 which then supplies M4, and so on), or a combination of the direct and cascaded and/or sequential. - In a still further arrangement, the initial machine, say M2, can carry out the initial loading of the
application code 50, modify it in accordance with this invention, and then generate a class/object loaded and initialised table which lists all or at least all the pertinent classes and/or objects loaded and initialised by machine M2. This table is then sent or communicated (or at least its contents are sent or communicated) to all other machines (including for example in branched or cascade fashion). Then if a machine, other than M2, needs to load and therefore initialise a class listed in the table, it sends a request to M2 to provide the necessary information, optionally consisting of either theunmodified application code 50 of the class or object to be loaded, or the modified application code of the class or object to be loaded, and optionally a copy of the previously initialised (or optionally and if available, the latest or even the current) values or contents of the previously loaded and initialised class or object on machine M2. An alternative arrangement of this mode may be to send the request for necessary information not to machine M2, but some other, or even more than one of, machine M1, . . . , Mn or machine X. Thus the information provided to machine Mn is, in general, different from the initial state loaded and initialise by machine M2. - Under the above circumstances it is preferable and advantageous for each entry in the table to be accompanied by a counter which is incremented on each occasion that a class or object is loaded and initialised on one of the machines M1, . . . , Mn. Thus, when data or other content is demanded, both the class or object contents and the count of the corresponding counter, and optionally in addition the modified or unmodified application code, are transferred in response to the demand. This “on demand” mode may somewhat increase the overhead of the execution of this invention for one or more machines M1, . . . , Mn, but it also reduces the volume of traffic on the communications network which interconnects the computers and therefore provides an overall advantage.
- In a still further arrangement, the machines M1 to Mn, may send some or all load requests to an additional machine X (see for example the embodiment of
FIG. 15 ), which performs the modification to theapplication code 50 inclusive of an (and possibly a plurality of) initialisation routine(s) via any of the afore mentioned methods, and returns the modified application code inclusive of the now modified initialization routine(s) to each of the machines M1 to Mn, and these machines in turn load the modified application code inclusive of the modified routines locally. In this arrangement, machines M1 to Mn forward all load requests to machine X, which returns a modifiedapplication program code 50 inclusive of modified initialization routine(s) to each machine. The modifications performed by machine X can include any of the modifications covered under the scope of the present invention. This arrangement may of course be applied to some of the machines and other arrangements described herein before applied to other of the machines. - Persons skilled in the computing arts will be aware of various possible techniques that may be used in the modification of computer code, including but not limited to instrumentation, program transformation, translation, or compilation means.
- One such technique is to make the modification(s) to the application code, without a preceding or consequential change of the language of the application code. Another such technique is to convert the original code (for example, JAVA language source-code) into an intermediate representation (or intermediate-code language, or pseudo code), such as JAVA byte code. Once this conversion takes place the modification is made to the byte code and then the conversion may be reversed. This gives the desired result of modified JAVA code.
- A further possible technique is to convert the application program to machine code, either directly from source-code or via the abovementioned intermediate language or through some other intermediate means. Then the machine code is modified before being loaded and executed. A still further such technique is to convert the original code to an intermediate representation, which is thus modified and subsequently converted into machine code.
- The present invention encompasses all such modification routes and also a combination of two, three or even more, of such routes.
- Having now described aspects of the memory management and replication and initialization, attention is now directed to an exemplary operational scenario illustrating the manner in which application programs on two computers may simultaneously execute the same application program in a consistent, coherent manner.
- In this regard, attention is directed to
FIGS. 22-24 , twolaptop computers computers computers screens keyboards single mouse 107. The twomachines twisted pair cable 314. - Two simple application programs are downloaded onto each of the
machines calculator 108 being displayed on thescreen 105. The second program is a graphics program which displays fourcoloured blocks 109 which are of different colours and which move about at random within arectangular box 310. Again, after loading, thebox 310 is displayed on thescreen 105. Each application operates independently so that theblocks 109 are in random motion on thescreen 105 whilst numerals within thecalculator 108 can be selected (with the mouse 107) together with a mathematical operator (such as addition or multiplication) so that thecalculator 108 displays the result. - The
mouse 107 can be used to “grab” thebox 310 and move same to the right across thescreen 105 and onto thescreen 115 so as to arrive at the situation illustrated inFIG. 23 . In this arrangement, the calculator application is being conducted onmachine 101 whilst the graphics application resulting in display ofbox 310 is being conducted onmachine 102. - However, as illustrated in
FIG. 24 , it is possible by means of themouse 107 to drag thecalculator 108 to the right as seen inFIG. 23 so as to have a part of thecalculator 108 displayed by each of thescreens box 310 can be dragged by means of themouse 107 to the left as seen inFIG. 23 so that thebox 310 is partially displayed by each of thescreens FIG. 24 . In this configuration, part of the calculator operation is being performed onmachine 101 and part onmachine 102 whilst part of the graphics application is being carried out themachine 101 and the remainder is carried out onmachine 102. - The foregoing describes only some embodiments of the present invention and modifications, obvious to those skilled in the art, can be made thereto without departing from the scope of the present invention. For example, reference to JAVA includes both the JAVA language and also JAVA platform and architecture.
- In all described instances of modification, where the
application code 50 is modified before, or during loading, or even after loading but before execution of the unmodified application code has commenced, it is to be understood that the modified application code is loaded in place of, and executed in place of, the unmodified application code subsequently to the modifications being performed. - Alternatively, in the instances where modification takes place after loading and after execution of the unmodified application code has commenced, it is to be understood that the unmodified application code may either be replaced with the modified application code in whole, corresponding to the modifications being performed, or alternatively, the unmodified application code may be replaced in part or incrementally as the modifications are performed incrementally on the executing unmodified application code. Regardless of which such modification routes are used, the modifications subsequent to being performed execute in place of the unmodified application code.
- An advantage of using a global identifier in the invention described is as a form of ‘meta-name’ or ‘meta-identity’ for all the similar equivalent local objects (or classes, or assets or resources or the like) on each one of the plurality of machines M1, . . . , Mn. For example, rather than having to keep track of each unique local name or identity of each similar equivalent local object on each machine of the plurality of similar equivalent objects, one may instead define or use a global name corresponding to the plurality of similar equivalent objects on each machine (e.g., “globalname7787”), and with the understanding that each machine relates the global name to a specific local name or object (e.g., “globalname7787” corresponds to object “localobject456” on machine M1, and “globalname7787” corresponds to object “localobject885” on machine M2, and “globalname7787” corresponds to object “localobject111” on machine M3, and so forth).
- Those skilled in the programming arts will be aware that when additional code or instructions is/are inserted into an existing code or instruction set to modify same, the existing code or instruction set may well require further modification (such as for example, by renumbering of sequential instructions) so that offsets, branching, attributes, mark up and the like are catered for.
- Similarly, in the JAVA language memory locations include, for example, both fields and array types. The above description deals with fields and the changes required for array types are essentially the same mutatis mutandis. Also the present invention is equally applicable to similar programming languages (including procedural, declarative and object orientated) to JAVA including Micrsoft.NET platform and architecture (Visual Basic, Visual C/C++, and C#) FORTRAN, C/C++, COBOL, BASIC etc.
- The abovementioned arrangement, in which the JAVA code which updates memory locations or field values is modified, is based on the assumption that either the runtime system (say, JAVA HOTSPOT VIRTUAL MACHINE written in C and Java) or the operating system (LINUX written in C and Assembler, for example) of each machine M1 . . . Mn will ordinarily update memory on the local machine (say M2) but not on any corresponding other machines (M1, M3 . . . Mn). It is possible to leave the JAVA code which updates memory locations or field values unamended and instead amend the LINUX or HOTSPOT routine which updates memory locally, so that it correspondingly updates memory on all other machines as well. In order to embrace such an arrangement the term “updating propagation routine” used herein in conjunction with maintaining the memory of all machines M1 . . . Mn essentially the same, is to be understood to include within its scope both the JAVA putfield and putstatic instructions and related operations and the “combination” of the JAVA putfield and putstatic operations and the LINUX or HOTSPOT code fragments which perform memory updating.
- The abovementioned embodiment in which the code of the JAVA initialisation routine is modified, is based upon the assumption that either the run time system (say, JAVA HOTSPOT VIRTUAL MACHINE written in C and JAVA) or the operating system (LINUX written in C and Assembler, for example) of each machine M1 . . . Mn will call the JAVA initialisation routine. It is possible to leave the JAVA initialisation routine unamended and instead amend the LINUX or HOTSPOT routine which calls the JAVA initialisation routine, so that if the object or class is already loaded, then the JAVA initialisation routine is not called. In order to embrace such an arrangement the term “initialisation routine” is to be understood to include within its scope both the JAVA initialisation routine and the “combination” of the JAVA initialisation routine and the LINUX or HOTSPOT code fragments which call or initiates the JAVA initialisation routine.
- The terms object and class used herein are derived from the JAVA environment and are intended to embrace similar terms derived from different environments such as dynamically linked libraries (DLL), or object code packages, or function unit or memory locations.
- Various means are described relative to embodiments of the invention, including for example but not limited to lock means, distributed run time means, modifier or modifying means, propagation means, distribution update means, counter means, synchronization means, and the like. In at least one embodiment of the invention, any one or each of these various means may be implemented by computer program code statements or instructions (possibly including by a plurality of computer program code statements or instructions) that execute within computer logic circuits, processors, ASICs, microprocessors, microcontrollers, or other logic to modify the operation of such logic or circuits to accomplish the recited operation or function. In another embodiment, any one or each of these various means may be implemented in firmware and in other embodiments such may be implemented in hardware. Furthermore, in at least one embodiment of the invention, any one or each of these various means may be implemented by an combination of computer program software, firmware, and/or hardware.
- Any and each of the aforedescribed methods, procedures, and/or routines may advantageously be implemented as a computer program and/or computer program product stored on any tangible media or existing in electronic, signal, or digital form. Such computer program or computer program products comprising instructions separately and/or organized as modules, programs, subroutines, or in any other way for execution in processing logic such as in a processor or microprocessor of a computer, computing machine, or information appliance; the computer program or computer program products modifying the operation of the computer on which it executes or on a computer coupled with, connected to, or otherwise in signal communications with the computer on which the computer program or computer program product is present or executing. Such computer program or computer program product modifying the operation and architectural structure of the computer, computing machine, and/or information appliance to alter the technical operation of the computer and realize the technical effects described herein.
- The invention may therefore includes a computer program product comprising a set of program instructions stored in a storage medium or exiting electronically in any form and operable to permit a plurality of computers to carry out any of the methods, procedures, routines, or the like as described herein including in any of the claims.
- Furthermore, the invention may include a plurality of computers interconnected via a communication network or other communications ink or path and each operable to substantially simultaneously or concurrently execute the same or a different portion of an application program code written to operate on only a single computer on a corresponding different one of computers, wherein the computers being programmed to carry out any of the methods, procedures, or routines described in the specification or set forth in any of the claims, or being loaded with a computer program product.
- The term “comprising” (and its grammatical variations) as used herein is used in the inclusive sense of “having” or “including” and not in the exclusive sense of “consisting only of”.
- This patent specification and the Annexures which form a part thereof contains material which is subject to copyright protection. The copyright owner (which is the applicant) has no objection to the reproduction of this patent specification or related materials from publicly available associated Patent Office files for the purposes of review, but otherwise reserves all copyright whatsoever. In particular, the various instructions are not to be entered into a computer without the specific written approval of the copyright owner.
Claims (57)
1. A method of compiling or modifying an application program written to operate on only one computer to have different portions thereof to execute substantially simultaneously on different ones of a plurality of computers interconnected via a communications link without creating a distributed shared memory arrangement; said method comprising the steps of: (i) detecting instructions which create objects a in local independent memory of a single one of said computers; and (ii) activating an initialization routine following each said detected object creation instruction, said initialization routine forwarding each created object to the remainder of said computers.
2. The method as claimed in claim 1 and carried out prior to loading the application program onto each said computer, or during loading of the application program onto each said computer, or after loading of the application program onto each said computer and before execution of the relevant portion of the application program.
3. A method of ensuring for a single computer consistent initialization of an application program written to operate on only one computer but different portions of which application program are to be executed substantially simultaneously each on a different one of a plurality of computers: said plurality of computers including said single computer and being interconnected via a communications network without forming a distributed shared memory arrangement; said method comprising the steps of:
(i) scrutinizing said application program at, or prior to, or after loading to detect each program step defining an initialization routine; and
(ii) modifying said initialization routine to generate a corresponding modified initialization routine to ensure consistent operation of all said computers.
4. The method as claimed in claim 3 wherein said initialization routine is modified to execute once only on the creation of a first object by any one of said computers and is modified to be disabled on the creation of each subsequent peer copy of said object by the remainder of said computers.
5. The method claimed in claim 3 wherein step (ii) comprises the steps of:
(iii) loading and executing said initialization routine on said single computer;
(iv) modifying said initialization routine by said single computer; and
(v) transferring said modified initialization routine to each of the remaining computers.
6. The method as claimed in claim 5 wherein said modified initialization routine is supplied by said single computer direct to each of said remaining computers.
7. The method as claimed in claim 5 wherein said modified initialization routine is supplied in cascade fashion from said single computer sequentially to each of said remaining computers.
8. The method claimed in claim 3 wherein step (ii) comprises the steps of: (vi) loading and modifying said initialization routine on said single computer; (vii) said single computer sending said initialization routine to each of the remaining computers; and (viii) each of said remaining computers modifying said initialization routine after receipt of same.
9. The method claimed in claim 8 wherein said initialization routine is supplied by said single computer directly to each of said remaining computers.
10. The method claimed in claim 8 wherein said initialization routine is supplied in cascade fashion from said single computer sequentially to each of said remaining computers.
11. The method claimed in claim 4 wherein step (ii) comprises the steps
(iii) loading and executing said initialization routine on said single computer;
(iv) modifying said initialization routine by said single computer; and
(v) transferring said modified initialization routine to each of the remaining computers.
12. The method as claimed in claim 11 wherein said modified initialization routine is supplied by said single computer direct to each of said remaining computers.
13. The method as claimed in claim 11 wherein said modified initialization routine is supplied in cascade fashion from said single computer sequentially to each of said remaining computers.
14. The method claimed in claim 11 wherein step (ii) comprises the steps of:
(vi) loading and modifying said initialization routine on said single computer;
(vii) said single computer sending said unmodified initialization routine to each of the remaining computers; and
(viii) each of said remaining computers modifying said initialization routine after receipt of same.
15. The method claimed in claim 14 wherein said unmodified initialization routine is supplied by said single computer directly to each of said remaining computers.
16. The method claimed in claim 14 wherein said unmodified initialization routine is supplied in cascade fashion from said single computer sequentially to each of said remaining computers.
17. A computer program product comprising a set of program instructions stored in a storage medium and operable to permit either a single computer or a plurality of computers, or a plurality of computers in cooperation with a single computer, to carry out the method as claimed in claim 1 .
18. A computer program product comprising a set of program instructions stored in a storage medium and operable to permit either a single computer, or a plurality of computers, or a plurality of computers in cooperation with a single computer, to carry out the method as claimed in claim 3 .
19. A single computer intended to operate with a plurality of computers interconnected via a communication network without forming a distributed shared memory arrangement and operable to ensure consistent initialization of an application program written to operate on only one computer but running substantially simultaneously on all said computers, said single computer being programmed to carry out the method as claimed in claim 1 .
20. A single computer intended to operate with a plurality of computers interconnected via a communication network without forming a distributed shared memory arrangement and operable to ensure consistent initialization of an application program written to operate on only one computer but running substantially simultaneously on all said computers, said single computer being programmed to carry out the method as claimed in claim 3 .
21. A single computer intended to operate in a multiple computer system comprising a plurality of computers interconnected by a communications network without forming a distributed shared memory arrangement, said single computer having at least one application program each written to operate on only one computer but running simultaneously on said plurality of computers wherein different portions of said at least one application program execute substantially simultaneously on different ones of said plurality of computers and for each said different portion a like plurality of substantially identical objects are created; each in a local independent memory of the corresponding computer and each having a substantially identical name; and wherein the initial contents of each of said substantially identically named objects is substantially the same.
22. The single computer as claimed in claim 21 wherein each said computer includes a distributed run time means with the distributed run time means of each said computer able to communicate with all other computers so that if a portion of said application program(s) running on one of said computers creates an object in that computer then the created object is propagated by the distributed run time means of said one computer to all the other computers.
23. The single computer as claimed in claim 22 wherein each said application program is modified before, during, or after loading by inserting an initialization routine to modify each instance at which said application program creates an object, said initialization routine propagating every object newly created by one computer to all said other computers.
24. The single computer as claimed in claim 23 wherein said inserted initialization routine modifies a preexisting initialization routine to enable the pre-existing initialization routine to execute on creation of the first of said like plurality of objects, and to disable the pre-existing initialization routine on creation of all subsequent ones of said like plurality of objects.
25. The single computer as claimed in claim 24 wherein the application program is modified in accordance with a procedure selected from the group of procedures consisting of re-compilation at loading, pre-compilation prior to loading, compilation prior to loading, just-in-time compilation, and re-compilation after loading and before execution of the relevant portion of application program.
26. The single computer as claimed in claim 25 wherein said modified application program is transferred to all said computers in accordance with a procedure selected from the group consisting of master/slave transfer, branched transfer and cascaded transfer.
27. A single computer arranged to operate within a plurality of computers interconnected via a communications link without forming a distributed shared memory arrangement, said plurality of computers substantially simultaneously operating at least one application program each written to operate on only one computer; wherein each said computer substantially simultaneously executes a different portion of said at least one application program; each said computer in operating its application program portion creates objects only in local independent memory physically located in each said computer, the contents of the local independent memory utilized by each said computer are fundamentally similar but not, at each instant, identical; and every one of said computers has a distribution update means to distribute to all other said computers objects created by said single computer.
28. The single computer as claimed in claim 27 wherein the local memory capacity allocated to each said application program is substantially identical and the total memory capacity available to each said application program is said allocated memory capacity.
29. The single computer as claimed in claim 27 wherein all said distribution update means communicate via said communications link at a data transfer rate which is substantially less than the local memory read rate.
30. The single computer as claimed in claim 27 wherein at least some of said computers are manufactured by different manufacturers and/or have different operating systems.
31. A method of running on a single computer at least one application program each written to operate on only one computer; said single computer being intended to operate in cooperation with a plurality of other computers which are interconnected by means of a communications network without forming a distributed shared memory arrangement; said method comprising the steps of:
(i) executing different portions of said at least one application program substantially simultaneously on different ones of said other computers and for each said portion creating a like plurality of substantially identical objects each in a local independent memory of the corresponding computer and each having a substantially identical name; and
(ii) creating the initial contents of each of said identically named objects substantially the same.
32. The method as claimed in claim 31 comprising the further step of: (iii) if a portion of said application program running on one of said computers creates an object in that computer, then the created object is propagated to all of the other computers via said communications network.
33. The method as claimed in claim 32 including the further step of: (iv) modifying said application program before, during or after loading by inserting an initialization routine to modify each instance at which said application program creates an object, said initialization routine propagating every object created by one computer to all said other computers.
34. The method as claimed in claim 33 including the further step of: (v) modifying said application program utilizing a procedure selected from the group of procedures consisting of re-compilation at loading, pre-compilation prior to loading, compilation prior to loading, just-in-time compilation, and re-compilation after loading and before execution of the relevant portion of application program.
35. The method as claimed in claim 33 including the further step of: (vi) transferring the modified application program to all said computers utilizing a procedure selected from the group consisting of master/slave transfer, branched transfer and cascaded transfer.
36. In a multiple thread processing computer operation taking place on a single computer intended to operate in cooperation with a plurality of computers and in which individual threads of a single application program written to operate on only one computer are simultaneously being processed each on a different corresponding one of a plurality of computers interconnected via a communications link without forming a distributed shared memory arrangement; the improvement comprising: communicating objects created in local independent memory physically associated with the computer processing each thread to the local independent memory of each other said computer via said communications link.
37. The improvement as claimed in claim 36 wherein objects created in the memory associated with one said thread are communicated by the computer of said one thread to all other said computers.
38. The improvement as claimed in claim 36 wherein objects created the memory associated with one said thread are transmitted to the computer associated with another said thread and are transmitted thereby to all said other computers.
39. A computer program product comprising a set of program instructions stored in a storage medium and operable to permit either a single computer, or a plurality of computers, or a plurality of computers in cooperation with a single computer, to carry out the method as claimed in claim 36 .
40. A single computer intended to operate with a plurality of computers interconnected via a communication network without forming a distributed shared memory arrangement and operable to ensure consistent initialization of an application program written to operate on only one computer but running substantially simultaneously on all said computers, said single computer being programmed to carry out the method as claimed in claim 31 .
41. A single computer intended to operate with a plurality of computers interconnected via a communication network without forming a distributed shared memory arrangement and operable to ensure consistent initialization of an application program written to operate on only one computer but running substantially simultaneously on all said computers, said single computer being programmed to carry out the method as claimed in claim 36 .
42. A single computer intended to operate with a plurality of computers interconnected via a communication network without forming a distributed shared memory arrangement and operable to ensure consistent initialization of an application program written to operate on only one computer but running substantially simultaneously on all said computers, said single computer being loaded with the computer program product as claimed in claim 17 .
43. A single computer intended to operate with a plurality of computers interconnected via a communication network without forming a distributed shared memory arrangement and operable to ensure consistent initialization of an application program written to operate on only one computer but running substantially simultaneously on all said computers, said single computer being loaded with the computer program product as claimed in claim 39 .
44. A single computer intended to operate with a plurality of computers interconnected via a communication network without forming a distributed shared memory arrangement and operable to ensure consistent initialization of an application program written to operate on only one computer but running substantially simultaneously on all said computers, said single computer being loaded with the computer program product as claimed in claim 18 .
45. A computer program product comprising a set of program instructions stored in a storage medium and operable to permit either a single computer, or a plurality of computers, or a plurality of computers in cooperation with a single computer, to carry out the method as claimed in claim 31 .
46. A single computer intended to operate with a plurality of computers interconnected via a communication network without forming a distributed shared memory arrangement and operable to ensure consistent initialization of an application program written to operate on only one computer but running substantially simultaneously on all said computers, said single computer being loaded with the computer program product as claimed in claim 45 .
47. In a multiple computer system comprising a plurality of computers, a method of compiling or modifying an application program written to operate on only one computer to have different portions thereof to execute substantially simultaneously on different ones of said plurality of computers interconnected via a communications link without creating a distributed shared memory arrangement; said method comprising the steps of:
(i) detecting instructions which create objects a in local independent memory of a single one of said computers of said plurality of computers; and
(ii) activating an initialization routine following each said detected object creation instruction, said initialization routine forwarding each created object to the remainder of said plurality of computers.
48. In a multiple computer system comprising a plurality of computers interconnected via a communications network, a method of ensuring for a single computer selected from among the plurality of computers consistent initialization of an application program written to operate on only one computer but different portions of which application program are to be executed substantially simultaneously each on a different one of said plurality of computers: said plurality or computers including said single computer and being interconnected via a communications network without forming a distributed shared memory arrangement; said method comprising the steps of:
(i) scrutinizing said application program at, or prior to, or after loading to detect each program step defining an initialization routine; and
(ii) modifying said initialization routine to generate a corresponding modified initialization routine to ensure consistent operation of all said computers.
49. A multiple computer system comprising a plurality of computers interconnected by a communications network without forming a distributed shared memory arrangement, said plurality of computers each having at least one application program each written to operate on only one computer but running simultaneously on said plurality of computers wherein different portions of said at least one application program execute substantially simultaneously on different ones of said plurality of computers and for each said different portion a like plurality of substantially identical objects are created; each in a local independent memory of the corresponding one of the plurality of computers and each having a substantially identical name; and wherein the initial contents of each of said substantially identically named objects is substantially the same.
50. A multiple computer system comprising:
a plurality of single computers arranged to operate within said multiple computer system, said plurality of computers interconnected via a communications link without forming a distributed shared memory arrangement, said plurality of computers substantially simultaneously operating at least one application program each written to operate on only one computer; wherein each said computer substantially simultaneously executes a different portion of said at least one application program;
each said computer in operating its application program portion creates objects only in local independent memory physically located in each said computer, the contents of the local independent memory utilized by each said computer are fundamentally similar but not, at each instant, identical; and
every one of said computers has a distribution update means to distribute to all other said computers objects created by said single computer.
51. A method of running on a multiple computer system comprising a plurality of single computers at least one application program each written to operate on only one computer; each said single computer being intended to operate in cooperation with said plurality of computers which are interconnected by means of a communications network without forming a distributed shared memory arrangement; said method comprising the steps of:
(i) executing different portions of said at least one application program substantially simultaneously on different ones of said plurality of computers and for each said portion creating a like plurality of substantially identical objects each in a local independent memory of the corresponding single computer and each having a substantially identical name; and
(ii) creating the initial contents of each of said identically named objects substantially the same.
52. In a multiple thread processing computer operation configured to operate in cooperation with a plurality of single computers and in which individual threads of a single application program written to operate on only one computer are simultaneously being processed each on a different corresponding one of said plurality of computers interconnected via a communications link without forming a distributed shared memory arrangement; the improvement comprising: communicating objects created in local independent memory physically associated with the single computer from the plurality of computers processing each thread to the local independent memory of each other said plurality of computer via said communications link different from the single computer processing the tread.
53. A single computer configured for operating with a plurality of single computers in a multiple computer system and having at least one application program written to operate on only a single computer but running substantially simultaneously on the plurality of single computers interconnected by a communications network; the single computer comprising:
a local independent memory structure defined in a local independent memory of the single computer and configured to provide execution of application program code of the application program including a plurality of code threads that are written with the intent to execute on and reference a single computer having a single processing unit or symmetric multiple processing units and the single independent local memory with a local memory capacity that is not shared with any other single computer of said plurality of single computers;
the single computer configured for and executing a different portion of said at least one application program than the other computers of the plurality of single computers, and executing its portion substantially simultaneously with the execution of different portions of the application program on the different other ones of said plurality of computers and for each portion in said single computer a plurality of objects are created in its independent local memory while a like plurality of substantially identical objects are created in the independent local memory of the other computers and each object having a substantially identical name; and
means for consistently creating or initializing all said identical objects on said single computer and on the other plurality of computers.
54. A single computer configured for use with a plurality of different networked single computers that are interconnected via a communications link, the single computer and the plurality of different computers operating substantially simultaneously to execute an application program written to operate on only a single computer, the application program having application program code including a plurality of code threads all intended to execute on and reference a single computer having a single processing unit or symmetric multiple processing units and a single independent local memory with a local memory capacity that is not shared with any other single computer of said plurality of single computers;
said single computer substantially simultaneously executes a first portion of said application program and other of said plurality of different networked single computers substantially simultaneously executes a second and other different portion with said first portion;
said single computer in operating said application program first portion utilizes an named object only by using a local replica of the named object stored in independent local memory physically located in said single computer with a local memory capacity that is not shared with or accessible by any other of the plurality of different networked single computers; the contents of the independent local memory utilized by said single computer and by each said plurality of different networked single computers is fundamentally similar but not, at each instant, identical; and
said single computer having and executing an object creation or initialization routine which creates or initializes objects consistently across the plurality of computers.
55. In a single computer, a method of ensuring consistent initialization of an application program written to operate only on one single computer but different portions of which are to be executed substantially simultaneously on the single computer and on each different one of a plurality of computers interconnected with each other and with the single computer via a communications network, the application program having application program code including a plurality of code threads all intended to execute on and reference only one computer having a single processing unit or symmetric multiple processing units and only one independent local memory with a local memory capacity that is not shared with any other computer, said method comprising:
(i) scrutinizing said application program at, or prior to, or after loading on said single computer to detect each application program step defining an initialization routine instruction creating or initializing an object utilizing said single computer or one of said plurality of other computers in the application program, wherein for each said different portion of the application program a like plurality of substantially identical objects are created in each single independent local memory of the corresponding computer including in the single independent memory of the single computer and with a local memory capacity that is not shared with or accessible by any other computer of said plurality of computers and each object having a substantially identical name; and
(ii) modifying said initialization routine to generate a corresponding modified initialization routine to ensure consistent operation of all said plurality of computers and forwarding each created object to the remainder of said plurality of computers.
56. A multiple computer system having at least one application program each written to operate on only a single computer but running substantially simultaneously on a plurality of single computers interconnected by a communications network; the system comprising:
a local independent memory structure defined for each of the plurality of single computers configured to provide execution of application program code of the application program including a plurality of code threads that are written with the intent to execute on and reference a single computer having a single processing unit or symmetric multiple processing units and a single independent local memory with a local memory capacity that is not shared with any other single computer of said plurality of single computers;
means for executing different portions of said at least one application program substantially simultaneously on different ones of said computers and for each portion a like plurality of substantially identical objects are created in each independent local memory of the corresponding single computer and each object having a substantially identical name; and
a distribution update means including a distributed run time to distribute to all other said plurality of computers objects created or initialized by said single computer.
57. A method of ensuring consistent initialization of an application program written to operate only on a single computer but different portions of which are to be executed substantially simultaneously each on a different one of a plurality of single computers interconnected via a communications network, the application program having application program code including a plurality of code threads all intended to execute on and reference a single computer having a single processing unit or symmetric multiple processing units and a single independent local memory with a local memory capacity that is not shared with any other single computer of said plurality of single computers, said method comprising the steps of:
(i) scrutinizing said application program at, or prior to, or after loading to detect each application program step defining a object creation or initialization routine instruction creating or initializing an object utilizing one of said computers in the application program, wherein for each said different portion of the application program a like plurality of substantially identical objects being created in each single independent local memory of the corresponding computer with a local memory capacity that is not shared with or accessible by any other single computer of said plurality of single computers and each object having a substantially identical name; and
(ii) modifying said object creation or initialization routine to ensure collective creation or initialization of corresponding objects in all said single computers to ensure consistent object creation and initialization in everyone of said plurality of computers.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/340,303 US20090198776A1 (en) | 2004-04-23 | 2008-12-19 | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects |
US12/820,758 US20100262590A1 (en) | 2004-04-23 | 2010-06-22 | Multi-computer distributed processing with replicated local memory exclusive read and write and network value update propagation |
Applications Claiming Priority (24)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/830,042 US7849452B2 (en) | 2004-04-23 | 2004-04-23 | Modification of computer applications at load time for distributed execution |
AU2005902025 | 2005-04-21 | ||
AU2005902026A AU2005902026A0 (en) | 2005-04-21 | Multiple Computer Architecture with Synchronization | |
AU2005902023A AU2005902023A0 (en) | 2005-04-21 | Multiple Computer Architecture with Replicated Memory Fields | |
AU2005902024 | 2005-04-21 | ||
AU2005902023 | 2005-04-21 | ||
AU2005902027A AU2005902027A0 (en) | 2005-04-21 | Modified Computer Architecture with Coordinated Objects | |
AU2005902025A AU2005902025A0 (en) | 2005-04-21 | Modified Computer Architecture with Finalization of Objects | |
AU2005902027 | 2005-04-21 | ||
AU2005902024A AU2005902024A0 (en) | 2005-04-21 | Modified Computer Architecture with Initialization of Objects | |
AU2005902026 | 2005-04-21 | ||
PCT/AU2005/000580 WO2005103926A1 (en) | 2004-04-22 | 2005-04-22 | Modified computer architecture with coordinated objects |
AUPCT/AU05/00582 | 2005-04-22 | ||
PCT/AU2005/000579 WO2005103925A1 (en) | 2004-04-22 | 2005-04-22 | Multiple computer architecture with synchronization |
US11/111,781 US20050262513A1 (en) | 2004-04-23 | 2005-04-22 | Modified computer architecture with initialization of objects |
PCT/AU2005/000578 WO2005103924A1 (en) | 2004-04-22 | 2005-04-22 | Modified computer architecture with initialization of objects |
PCT/AU2005/000582 WO2005103928A1 (en) | 2004-04-22 | 2005-04-22 | Multiple computer architecture with replicated memory fields |
AUPCT/AU05/00578 | 2005-04-22 | ||
AUPCT/AU05/00579 | 2005-04-22 | ||
PCT/AU2005/000581 WO2005103927A1 (en) | 2004-04-22 | 2005-04-22 | Modified computer architecture with finalization of objects |
AUPCT/AU05/00580 | 2005-04-22 | ||
AUPCT/AU05/00581 | 2005-04-22 | ||
US11/259,744 US20060253844A1 (en) | 2005-04-21 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects |
US12/340,303 US20090198776A1 (en) | 2004-04-23 | 2008-12-19 | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/259,744 Continuation US20060253844A1 (en) | 2004-04-23 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US10/830,042 Continuation US7849452B2 (en) | 2004-04-23 | 2004-04-23 | Modification of computer applications at load time for distributed execution |
Publications (1)
Publication Number | Publication Date |
---|---|
US20090198776A1 true US20090198776A1 (en) | 2009-08-06 |
Family
ID=37114615
Family Applications (10)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/259,744 Abandoned US20060253844A1 (en) | 2004-04-23 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects |
US11/259,761 Abandoned US20060265704A1 (en) | 2005-04-21 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with synchronization |
US11/259,634 Abandoned US20060265703A1 (en) | 2004-04-23 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with replicated memory |
US11/259,885 Active 2026-12-11 US7788314B2 (en) | 2004-04-23 | 2005-10-25 | Multi-computer distributed processing with replicated local memory exclusive read and write and network value update propagation |
US11/259,762 Active 2027-01-24 US8028299B2 (en) | 2005-04-21 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with finalization of objects |
US11/912,141 Abandoned US20090055603A1 (en) | 2005-04-21 | 2006-04-20 | Modified computer architecture for a computer to operate in a multiple computer system |
US12/340,303 Abandoned US20090198776A1 (en) | 2004-04-23 | 2008-12-19 | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects |
US12/343,419 Expired - Lifetime US7818296B2 (en) | 2005-04-21 | 2008-12-23 | Computer architecture and method of operation for multi-computer distributed processing with synchronization |
US12/396,446 Expired - Lifetime US7860829B2 (en) | 2004-04-23 | 2009-03-02 | Computer architecture and method of operation for multi-computer distributed processing with replicated memory |
US12/820,758 Abandoned US20100262590A1 (en) | 2004-04-23 | 2010-06-22 | Multi-computer distributed processing with replicated local memory exclusive read and write and network value update propagation |
Family Applications Before (6)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/259,744 Abandoned US20060253844A1 (en) | 2004-04-23 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects |
US11/259,761 Abandoned US20060265704A1 (en) | 2005-04-21 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with synchronization |
US11/259,634 Abandoned US20060265703A1 (en) | 2004-04-23 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with replicated memory |
US11/259,885 Active 2026-12-11 US7788314B2 (en) | 2004-04-23 | 2005-10-25 | Multi-computer distributed processing with replicated local memory exclusive read and write and network value update propagation |
US11/259,762 Active 2027-01-24 US8028299B2 (en) | 2005-04-21 | 2005-10-25 | Computer architecture and method of operation for multi-computer distributed processing with finalization of objects |
US11/912,141 Abandoned US20090055603A1 (en) | 2005-04-21 | 2006-04-20 | Modified computer architecture for a computer to operate in a multiple computer system |
Family Applications After (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/343,419 Expired - Lifetime US7818296B2 (en) | 2005-04-21 | 2008-12-23 | Computer architecture and method of operation for multi-computer distributed processing with synchronization |
US12/396,446 Expired - Lifetime US7860829B2 (en) | 2004-04-23 | 2009-03-02 | Computer architecture and method of operation for multi-computer distributed processing with replicated memory |
US12/820,758 Abandoned US20100262590A1 (en) | 2004-04-23 | 2010-06-22 | Multi-computer distributed processing with replicated local memory exclusive read and write and network value update propagation |
Country Status (3)
Country | Link |
---|---|
US (10) | US20060253844A1 (en) |
EP (1) | EP1880303A4 (en) |
WO (2) | WO2006110937A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7844665B2 (en) | 2004-04-23 | 2010-11-30 | Waratek Pty Ltd. | Modified computer architecture having coordinated deletion of corresponding replicated memory locations among plural computers |
US7860829B2 (en) | 2004-04-23 | 2010-12-28 | Waratek Pty Ltd. | Computer architecture and method of operation for multi-computer distributed processing with replicated memory |
Families Citing this family (121)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050257219A1 (en) * | 2004-04-23 | 2005-11-17 | Holt John M | Multiple computer architecture with replicated memory fields |
US20060095483A1 (en) * | 2004-04-23 | 2006-05-04 | Waratek Pty Limited | Modified computer architecture with finalization of objects |
US20050262513A1 (en) * | 2004-04-23 | 2005-11-24 | Waratek Pty Limited | Modified computer architecture with initialization of objects |
US7849452B2 (en) * | 2004-04-23 | 2010-12-07 | Waratek Pty Ltd. | Modification of computer applications at load time for distributed execution |
US7707179B2 (en) * | 2004-04-23 | 2010-04-27 | Waratek Pty Limited | Multiple computer architecture with synchronization |
US7357332B2 (en) * | 2005-04-29 | 2008-04-15 | International Business Machines Corporation | Providing diagnostic information on the processing of variables in source code |
US7761670B2 (en) | 2005-10-25 | 2010-07-20 | Waratek Pty Limited | Modified machine architecture with advanced synchronization |
US7958322B2 (en) * | 2005-10-25 | 2011-06-07 | Waratek Pty Ltd | Multiple machine architecture with overhead reduction |
US20070100828A1 (en) * | 2005-10-25 | 2007-05-03 | Holt John M | Modified machine architecture with machine redundancy |
US7660960B2 (en) * | 2005-10-25 | 2010-02-09 | Waratek Pty, Ltd. | Modified machine architecture with partial memory updating |
US7849369B2 (en) * | 2005-10-25 | 2010-12-07 | Waratek Pty Ltd. | Failure resistant multiple computer system and method |
US7581069B2 (en) * | 2005-10-25 | 2009-08-25 | Waratek Pty Ltd. | Multiple computer system with enhanced memory clean up |
US8015236B2 (en) | 2005-10-25 | 2011-09-06 | Waratek Pty. Ltd. | Replication of objects having non-primitive fields, especially addresses |
US20070157212A1 (en) * | 2006-01-04 | 2007-07-05 | Berg Douglas C | Context key routing for parallel processing in an application serving environment |
US7873953B1 (en) * | 2006-01-20 | 2011-01-18 | Altera Corporation | High-level language code sequence optimization for implementing programmable chip designs |
US20120124550A1 (en) * | 2006-02-22 | 2012-05-17 | Robert Nocera | Facilitating database application code translation from a first application language to a second application language |
US8156493B2 (en) * | 2006-04-12 | 2012-04-10 | The Mathworks, Inc. | Exception handling in a concurrent computing process |
US7747996B1 (en) * | 2006-05-25 | 2010-06-29 | Oracle America, Inc. | Method of mixed lock-free and locking synchronization |
US8082289B2 (en) | 2006-06-13 | 2011-12-20 | Advanced Cluster Systems, Inc. | Cluster computing support for application programs |
CA2557343C (en) * | 2006-08-28 | 2015-09-22 | Ibm Canada Limited-Ibm Canada Limitee | Runtime code modification in a multi-threaded environment |
US20080140858A1 (en) | 2006-10-05 | 2008-06-12 | Holt John M | Switch protocol for network communications |
US20080133691A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Contention resolution with echo cancellation |
US20080140970A1 (en) * | 2006-10-05 | 2008-06-12 | Holt John M | Advanced synchronization and contention resolution |
US8473564B2 (en) | 2006-10-05 | 2013-06-25 | Waratek Pty Ltd. | Contention detection and resolution |
US20080120478A1 (en) * | 2006-10-05 | 2008-05-22 | Holt John M | Advanced synchronization and contention resolution |
WO2008040083A1 (en) * | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Adding one or more computers to a multiple computer system |
US20080126372A1 (en) * | 2006-10-05 | 2008-05-29 | Holt John M | Cyclic redundant multiple computer architecture |
WO2008040066A1 (en) * | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Redundant multiple computer architecture |
US20080130652A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Multiple communication networks for multiple computers |
US20080133692A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Multiple computer system with redundancy architecture |
US20080140805A1 (en) * | 2006-10-05 | 2008-06-12 | Holt John M | Multiple network connections for multiple computers |
US20080133689A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Silent memory reclamation |
AU2007304895A1 (en) * | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Advanced contention detection |
US20080134189A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Job scheduling amongst multiple computers |
US20080140973A1 (en) * | 2006-10-05 | 2008-06-12 | Holt John M | Contention detection with data consolidation |
US7852845B2 (en) * | 2006-10-05 | 2010-12-14 | Waratek Pty Ltd. | Asynchronous data transmission |
WO2008040063A1 (en) * | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Multi-path switching networks |
US7962697B2 (en) | 2006-10-05 | 2011-06-14 | Waratek Pty Limited | Contention detection |
WO2008040082A1 (en) * | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Multiple computer system with dual mode redundancy architecture |
US20080114853A1 (en) * | 2006-10-05 | 2008-05-15 | Holt John M | Network protocol for network communications |
US8090926B2 (en) * | 2006-10-05 | 2012-01-03 | Waratek Pty Ltd. | Hybrid replicated shared memory |
US7739349B2 (en) * | 2006-10-05 | 2010-06-15 | Waratek Pty Limited | Synchronization with partial memory replication |
US20080120477A1 (en) * | 2006-10-05 | 2008-05-22 | Holt John M | Contention detection with modified message format |
US20080250221A1 (en) * | 2006-10-09 | 2008-10-09 | Holt John M | Contention detection with data consolidation |
US8473460B2 (en) * | 2006-11-21 | 2013-06-25 | Microsoft Corporation | Driver model for replacing core system hardware |
US7934121B2 (en) | 2006-11-21 | 2011-04-26 | Microsoft Corporation | Transparent replacement of a system processor |
US8332866B2 (en) * | 2006-11-29 | 2012-12-11 | Qualcomm Incorporated | Methods, systems, and apparatus for object invocation across protection domain boundaries |
US8341609B2 (en) * | 2007-01-26 | 2012-12-25 | Oracle International Corporation | Code generation in the presence of paged memory |
US8037460B2 (en) * | 2007-01-26 | 2011-10-11 | Oracle International Corporation | Code persistence and dependency management for dynamic compilation in a database management system |
US8413125B2 (en) * | 2007-01-26 | 2013-04-02 | Oracle International Corporation | Asynchronous dynamic compilation based on multi-session profiling to produce shared native code |
US8086906B2 (en) * | 2007-02-15 | 2011-12-27 | Microsoft Corporation | Correlating hardware devices between local operating system and global management entity |
US7685381B2 (en) * | 2007-03-01 | 2010-03-23 | International Business Machines Corporation | Employing a data structure of readily accessible units of memory to facilitate memory access |
US7899663B2 (en) * | 2007-03-30 | 2011-03-01 | International Business Machines Corporation | Providing memory consistency in an emulated processing environment |
US8316190B2 (en) | 2007-04-06 | 2012-11-20 | Waratek Pty. Ltd. | Computer architecture and method of operation for multi-computer distributed processing having redundant array of independent systems with replicated memory and code striping |
US8458724B2 (en) | 2007-06-15 | 2013-06-04 | Microsoft Corporation | Automatic mutual exclusion |
US20090044186A1 (en) * | 2007-08-07 | 2009-02-12 | Nokia Corporation | System and method for implementation of java ais api |
US8291393B2 (en) * | 2007-08-20 | 2012-10-16 | International Business Machines Corporation | Just-in-time compiler support for interruptible code |
WO2009027138A1 (en) | 2007-08-30 | 2009-03-05 | International Business Machines Corporation | Accessing data entities |
US8181180B1 (en) * | 2007-09-14 | 2012-05-15 | Hewlett-Packard Development Company, L.P. | Managing jobs in shared file systems |
US8381174B2 (en) * | 2007-10-31 | 2013-02-19 | National Instruments Corporation | Global variable structure in a graphical program |
US8347266B2 (en) * | 2007-12-10 | 2013-01-01 | Microsoft Corporation | Declarative object identity |
US8250524B2 (en) * | 2007-12-21 | 2012-08-21 | Microsoft Corporation | Contract programming for code error reduction |
US10552391B2 (en) * | 2008-04-04 | 2020-02-04 | Landmark Graphics Corporation | Systems and methods for real time data management in a collaborative environment |
US8245222B2 (en) * | 2008-07-09 | 2012-08-14 | Aspect Software, Inc. | Image installer |
US8630976B2 (en) * | 2008-08-20 | 2014-01-14 | Sap Ag | Fast search replication synchronization processes |
US9542222B2 (en) * | 2008-11-14 | 2017-01-10 | Oracle International Corporation | Resource broker system for dynamically deploying and managing software services in a virtual environment based on resource usage and service level agreement |
US8645922B2 (en) * | 2008-11-25 | 2014-02-04 | Sap Ag | System and method of implementing a concurrency profiler |
US8307350B2 (en) * | 2009-01-14 | 2012-11-06 | Microsoft Corporation | Multi level virtual function tables |
US8782607B2 (en) | 2009-02-20 | 2014-07-15 | Microsoft Corporation | Contract failure behavior with escalation policy |
US9268608B2 (en) * | 2009-02-26 | 2016-02-23 | Oracle International Corporation | Automatic administration of UNIX commands |
US8667483B2 (en) * | 2009-03-25 | 2014-03-04 | Microsoft Corporation | Device dependent on-demand compiling and deployment of mobile applications |
US10534644B2 (en) * | 2009-06-25 | 2020-01-14 | Wind River Systems, Inc. | Method and system for a CPU-local storage mechanism |
US9262933B2 (en) * | 2009-11-13 | 2016-02-16 | The Boeing Company | Lateral avoidance maneuver solver |
US8725402B2 (en) | 2009-11-13 | 2014-05-13 | The Boeing Company | Loss of separation avoidance maneuvering |
US8214411B2 (en) * | 2009-12-15 | 2012-07-03 | Juniper Networks, Inc. | Atomic deletion of database data categories |
US8290991B2 (en) * | 2009-12-15 | 2012-10-16 | Juniper Networks, Inc. | Atomic deletion of database data categories |
US8943108B2 (en) * | 2009-12-23 | 2015-01-27 | International Business Machines Corporation | Hardware off-load memory garbage collection acceleration |
US8407444B2 (en) * | 2009-12-23 | 2013-03-26 | International Business Machines Corporation | Hardware off-load garbage collection acceleration for languages with finalizers |
US8407531B2 (en) * | 2010-02-26 | 2013-03-26 | Bmc Software, Inc. | Method of collecting and correlating locking data to determine ultimate holders in real time |
US9152438B2 (en) * | 2010-04-19 | 2015-10-06 | Qualcomm Incorporated | Object linking based on a determined linker order |
RU2554509C2 (en) * | 2010-10-06 | 2015-06-27 | Александр Яковлевич Богданов | System and method of distributed computations |
US8453130B2 (en) * | 2011-02-09 | 2013-05-28 | International Business Machines Corporation | Memory management for object oriented applications during runtime |
US8572754B2 (en) | 2011-02-25 | 2013-10-29 | Wyse Technology Inc. | System and method for facilitating unlocking a device connected locally to a client |
US8615544B2 (en) * | 2011-02-25 | 2013-12-24 | Wyse Technology Inc. | System and method for unlocking a device remotely from a server |
US8671204B2 (en) | 2011-06-29 | 2014-03-11 | Qualcomm Incorporated | Cooperative sharing of subscriptions to a subscriber-based network among M2M devices |
US9275369B2 (en) | 2011-08-24 | 2016-03-01 | Oracle International Corporation | Demystifying obfuscated information transfer for performing automated system administration |
US10803028B2 (en) * | 2011-12-21 | 2020-10-13 | Sybase, Inc. | Multiphase approach to data availability |
US9015702B2 (en) * | 2012-01-13 | 2015-04-21 | Vasanth Bhat | Determining compatibility of an application with different versions of an operating system |
EP3660673A1 (en) * | 2012-03-22 | 2020-06-03 | Irdeto B.V. | Updating software components |
US9037558B2 (en) | 2012-05-25 | 2015-05-19 | International Business Machines Corporation | Management of long-running locks and transactions on database tables |
RU2012127578A (en) * | 2012-07-02 | 2014-01-10 | ЭлЭсАй Корпорейшн | ANALYZER OF APPLICABILITY OF THE SOFTWARE MODULE FOR THE DEVELOPMENT AND TESTING OF THE SOFTWARE FOR MULTIPROCESSOR MEDIA |
US8612407B1 (en) | 2012-07-18 | 2013-12-17 | International Business Machines Corporation | Source control inheritance locking |
US20140040218A1 (en) * | 2012-07-31 | 2014-02-06 | Hideaki Kimura | Methods and systems for an intent lock engine |
US9092281B2 (en) | 2012-10-02 | 2015-07-28 | Qualcomm Incorporated | Fast remote procedure call |
US9804945B1 (en) * | 2013-01-03 | 2017-10-31 | Amazon Technologies, Inc. | Determinism for distributed applications |
CN103067797B (en) * | 2013-01-30 | 2015-04-08 | 烽火通信科技股份有限公司 | Maintenance method of intelligent ODN (Optical Distribution Network) managing system |
US10313345B2 (en) | 2013-03-11 | 2019-06-04 | Amazon Technologies, Inc. | Application marketplace for virtual desktops |
US9002982B2 (en) | 2013-03-11 | 2015-04-07 | Amazon Technologies, Inc. | Automated desktop placement |
US9317472B2 (en) * | 2013-06-07 | 2016-04-19 | International Business Machines Corporation | Processing element data sharing |
US10623243B2 (en) * | 2013-06-26 | 2020-04-14 | Amazon Technologies, Inc. | Management of computing sessions |
US10540148B2 (en) * | 2014-06-12 | 2020-01-21 | Oracle International Corporation | Complex constants |
US20160070759A1 (en) * | 2014-09-04 | 2016-03-10 | Palo Alto Research Center Incorporated | System And Method For Integrating Real-Time Query Engine And Database Platform |
WO2016033629A2 (en) | 2014-09-05 | 2016-03-10 | Fts Computertechnik Gmbh | Computer system and method for safety-critical applications |
US9853908B2 (en) | 2014-11-25 | 2017-12-26 | Red Hat Inc. | Utilizing access control data structures for sharing computing resources |
US10318271B2 (en) | 2015-01-05 | 2019-06-11 | Irdeto Canada Corporation | Updating software components in a program |
EP3256920B1 (en) | 2015-02-12 | 2021-06-23 | Glowforge Inc. | Cloud controlled laser fabrication |
US10509390B2 (en) | 2015-02-12 | 2019-12-17 | Glowforge Inc. | Safety and reliability guarantees for laser fabrication |
DE102015112143B4 (en) * | 2015-07-24 | 2017-04-06 | Infineon Technologies Ag | A method of determining an integrity of an execution of a code fragment and a method of providing an abstract representation of a program code |
US9977786B2 (en) | 2015-12-23 | 2018-05-22 | Github, Inc. | Distributed code repository with limited synchronization locking |
SG10201600224SA (en) * | 2016-01-12 | 2017-08-30 | Huawei Int Pte Ltd | Dedicated ssr pipeline stage of router for express traversal (extra) noc |
CN107526742B (en) | 2016-06-21 | 2021-10-08 | 伊姆西Ip控股有限责任公司 | Method and apparatus for processing multilingual text |
WO2018098397A1 (en) | 2016-11-25 | 2018-05-31 | Glowforge Inc. | Calibration of computer-numerically-controlled machine |
WO2018098396A1 (en) * | 2016-11-25 | 2018-05-31 | Glowforge Inc. | Multi-user computer-numerically-controlled machine |
US20180225110A1 (en) * | 2017-02-08 | 2018-08-09 | International Business Machines Corporation | Legacy program code analysis and optimization |
US11132274B2 (en) | 2018-03-01 | 2021-09-28 | Target Brands, Inc. | Establishing and monitoring programming environments |
CN108415719B (en) * | 2018-03-29 | 2019-03-19 | 网易(杭州)网络有限公司 | The hot update method of code and device, storage medium, processor and terminal |
US10649685B2 (en) | 2018-07-16 | 2020-05-12 | International Business Machines Corporation | Site-centric alerting in a distributed storage system |
CN110113407B (en) * | 2019-04-30 | 2021-08-17 | 上海连尚网络科技有限公司 | Applet state synchronization method, apparatus and computer storage medium |
US11263091B2 (en) * | 2020-02-19 | 2022-03-01 | International Business Machines Corporation | Using inode entries to mirror data operations across data storage sites |
US11698898B2 (en) * | 2020-11-04 | 2023-07-11 | Salesforce, Inc. | Lock wait tracing |
US12099476B2 (en) * | 2021-10-22 | 2024-09-24 | Dell Products L.P. | Distributed smart lock system |
Citations (69)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4300127A (en) * | 1978-09-27 | 1981-11-10 | Bernin Victor M | Solid state noncontacting keyboard employing a differential transformer element |
US4969092A (en) * | 1988-09-30 | 1990-11-06 | Ibm Corp. | Method for scheduling execution of distributed application programs at preset times in an SNA LU 6.2 network environment |
US5214776A (en) * | 1988-11-18 | 1993-05-25 | Bull Hn Information Systems Italia S.P.A. | Multiprocessor system having global data replication |
US5291597A (en) * | 1988-10-24 | 1994-03-01 | Ibm Corp | Method to provide concurrent execution of distributed application programs by a host computer and an intelligent work station on an SNA network |
US5418966A (en) * | 1992-10-16 | 1995-05-23 | International Business Machines Corporation | Updating replicated objects in a plurality of memory partitions |
US5434994A (en) * | 1994-05-23 | 1995-07-18 | International Business Machines Corporation | System and method for maintaining replicated data coherency in a data processing system |
US5488723A (en) * | 1992-05-25 | 1996-01-30 | Cegelec | Software system having replicated objects and using dynamic messaging, in particular for a monitoring/control installation of redundant architecture |
US5544345A (en) * | 1993-11-08 | 1996-08-06 | International Business Machines Corporation | Coherence controls for store-multiple shared data coordinated by cache directory entries in a shared electronic storage |
US5568609A (en) * | 1990-05-18 | 1996-10-22 | Fujitsu Limited | Data processing system with path disconnection and memory access failure recognition |
US5612865A (en) * | 1995-06-01 | 1997-03-18 | Ncr Corporation | Dynamic hashing method for optimal distribution of locks within a clustered system |
US5802585A (en) * | 1996-07-17 | 1998-09-01 | Digital Equipment Corporation | Batched checking of shared memory accesses |
US5918248A (en) * | 1996-12-30 | 1999-06-29 | Northern Telecom Limited | Shared memory control algorithm for mutual exclusion and rollback |
US6049809A (en) * | 1996-10-30 | 2000-04-11 | Microsoft Corporation | Replication optimization system and method |
US6148377A (en) * | 1996-11-22 | 2000-11-14 | Mangosoft Corporation | Shared memory computer networks |
US6163801A (en) * | 1998-10-30 | 2000-12-19 | Advanced Micro Devices, Inc. | Dynamic communication between computer processes |
US6192514B1 (en) * | 1997-02-19 | 2001-02-20 | Unisys Corporation | Multicomputer system |
US6314558B1 (en) * | 1996-08-27 | 2001-11-06 | Compuware Corporation | Byte code instrumentation |
US6324587B1 (en) * | 1997-12-23 | 2001-11-27 | Microsoft Corporation | Method, computer program product, and data structure for publishing a data object over a store and forward transport |
US6327630B1 (en) * | 1996-07-24 | 2001-12-04 | Hewlett-Packard Company | Ordered message reception in a distributed data processing system |
US6370625B1 (en) * | 1999-12-29 | 2002-04-09 | Intel Corporation | Method and apparatus for lock synchronization in a microprocessor system |
US6389423B1 (en) * | 1999-04-13 | 2002-05-14 | Mitsubishi Denki Kabushiki Kaisha | Data synchronization method for maintaining and controlling a replicated data |
US6425016B1 (en) * | 1997-05-27 | 2002-07-23 | International Business Machines Corporation | System and method for providing collaborative replicated objects for synchronous distributed groupware applications |
US20020199172A1 (en) * | 2001-06-07 | 2002-12-26 | Mitchell Bunnell | Dynamic instrumentation event trace system and methods |
US20030005407A1 (en) * | 2000-06-23 | 2003-01-02 | Hines Kenneth J. | System and method for coordination-centric design of software systems |
US20030004924A1 (en) * | 2001-06-29 | 2003-01-02 | International Business Machines Corporation | Apparatus for database record locking and method therefor |
US20030067912A1 (en) * | 1999-07-02 | 2003-04-10 | Andrew Mead | Directory services caching for network peer to peer service locator |
US6571278B1 (en) * | 1998-10-22 | 2003-05-27 | International Business Machines Corporation | Computer data sharing system and method for maintaining replica consistency |
US6574628B1 (en) * | 1995-05-30 | 2003-06-03 | Corporation For National Research Initiatives | System for distributed task execution |
US6574674B1 (en) * | 1996-05-24 | 2003-06-03 | Microsoft Corporation | Method and system for managing data while sharing application programs |
US20030105816A1 (en) * | 2001-08-20 | 2003-06-05 | Dinkar Goswami | System and method for real-time multi-directional file-based data streaming editor |
US6611955B1 (en) * | 1999-06-03 | 2003-08-26 | Swisscom Ag | Monitoring and testing middleware based application software |
US6625751B1 (en) * | 1999-08-11 | 2003-09-23 | Sun Microsystems, Inc. | Software fault tolerant computer system |
US6668260B2 (en) * | 2000-08-14 | 2003-12-23 | Divine Technology Ventures | System and method of synchronizing replicated data |
US20040073828A1 (en) * | 2002-08-30 | 2004-04-15 | Vladimir Bronstein | Transparent variable state mirroring |
US20040093588A1 (en) * | 2002-11-12 | 2004-05-13 | Thomas Gschwind | Instrumenting a software application that includes distributed object technology |
US6757896B1 (en) * | 1999-01-29 | 2004-06-29 | International Business Machines Corporation | Method and apparatus for enabling partial replication of object stores |
US6760903B1 (en) * | 1996-08-27 | 2004-07-06 | Compuware Corporation | Coordinated application monitoring in a distributed computing environment |
US6775831B1 (en) * | 2000-02-11 | 2004-08-10 | Overture Services, Inc. | System and method for rapid completion of data processing tasks distributed on a network |
US20040158819A1 (en) * | 2003-02-10 | 2004-08-12 | International Business Machines Corporation | Run-time wait tracing using byte code insertion |
US6779093B1 (en) * | 2002-02-15 | 2004-08-17 | Veritas Operating Corporation | Control facility for processing in-band control messages during data replication |
US20040163077A1 (en) * | 2003-02-13 | 2004-08-19 | International Business Machines Corporation | Apparatus and method for dynamic instrumenting of code to minimize system perturbation |
US6782492B1 (en) * | 1998-05-11 | 2004-08-24 | Nec Corporation | Memory error recovery method in a cluster computer and a cluster computer |
US6823511B1 (en) * | 2000-01-10 | 2004-11-23 | International Business Machines Corporation | Reader-writer lock for multiprocessor systems |
US20050039171A1 (en) * | 2003-08-12 | 2005-02-17 | Avakian Arra E. | Using interceptors and out-of-band data to monitor the performance of Java 2 enterprise edition (J2EE) applications |
US6862608B2 (en) * | 2001-07-17 | 2005-03-01 | Storage Technology Corporation | System and method for a distributed shared memory |
US20050086384A1 (en) * | 2003-09-04 | 2005-04-21 | Johannes Ernst | System and method for replicating, integrating and synchronizing distributed information |
US20050108481A1 (en) * | 2003-11-17 | 2005-05-19 | Iyengar Arun K. | System and method for achieving strong data consistency |
US6954794B2 (en) * | 2002-10-21 | 2005-10-11 | Tekelec | Methods and systems for exchanging reachability information and for switching traffic between redundant interfaces in a network cluster |
US20050240737A1 (en) * | 2004-04-23 | 2005-10-27 | Waratek (Australia) Pty Limited | Modified computer architecture |
US20050257219A1 (en) * | 2004-04-23 | 2005-11-17 | Holt John M | Multiple computer architecture with replicated memory fields |
US6968372B1 (en) * | 2001-10-17 | 2005-11-22 | Microsoft Corporation | Distributed variable synchronizer |
US20050262313A1 (en) * | 2004-04-23 | 2005-11-24 | Waratek Pty Limited | Modified computer architecture with coordinated objects |
US20050262513A1 (en) * | 2004-04-23 | 2005-11-24 | Waratek Pty Limited | Modified computer architecture with initialization of objects |
US20060020913A1 (en) * | 2004-04-23 | 2006-01-26 | Waratek Pty Limited | Multiple computer architecture with synchronization |
US6992601B2 (en) * | 2000-10-05 | 2006-01-31 | Elan Microelectronics Corporation | Input apparatus using multidimensional electrodes to define key functions and the encoding method thereof |
US7010576B2 (en) * | 2002-05-30 | 2006-03-07 | International Business Machines Corporation | Efficient method of globalization and synchronization of distributed resources in distributed peer data processing environments |
US7020736B1 (en) * | 2000-12-18 | 2006-03-28 | Redback Networks Inc. | Method and apparatus for sharing memory space across mutliple processing units |
US20060080389A1 (en) * | 2004-10-06 | 2006-04-13 | Digipede Technologies, Llc | Distributed processing system |
US7031989B2 (en) * | 2001-02-26 | 2006-04-18 | International Business Machines Corporation | Dynamic seamless reconfiguration of executing parallel software |
US20060095483A1 (en) * | 2004-04-23 | 2006-05-04 | Waratek Pty Limited | Modified computer architecture with finalization of objects |
US7047341B2 (en) * | 2001-12-29 | 2006-05-16 | Lg Electronics Inc. | Multi-processing memory duplication system |
US7058826B2 (en) * | 2000-09-27 | 2006-06-06 | Amphus, Inc. | System, architecture, and method for logical server and other network devices in a dynamically configurable multi-server network environment |
US20060143350A1 (en) * | 2003-12-30 | 2006-06-29 | 3Tera, Inc. | Apparatus, method and system for aggregrating computing resources |
US7082604B2 (en) * | 2001-04-20 | 2006-07-25 | Mobile Agent Technologies, Incorporated | Method and apparatus for breaking down computing tasks across a network of heterogeneous computer for parallel execution by utilizing autonomous mobile agents |
US20060167878A1 (en) * | 2005-01-27 | 2006-07-27 | International Business Machines Corporation | Customer statistics based on database lock use |
US20060242464A1 (en) * | 2004-04-23 | 2006-10-26 | Holt John M | Computer architecture and method of operation for multi-computer distributed processing and coordinated memory and asset handling |
US7206827B2 (en) * | 2002-07-25 | 2007-04-17 | Sun Microsystems, Inc. | Dynamic administration framework for server systems |
US20080072238A1 (en) * | 2003-10-21 | 2008-03-20 | Gemstone Systems, Inc. | Object synchronization in shared object space |
US20080189700A1 (en) * | 2007-02-02 | 2008-08-07 | Vmware, Inc. | Admission Control for Virtual Machine Cluster |
Family Cites Families (109)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4068298A (en) | 1975-12-03 | 1978-01-10 | Systems Development Corporation | Information storage and retrieval system |
JPS60186919A (en) | 1984-01-30 | 1985-09-24 | Nec Corp | Autonomous timer circuit |
US4780821A (en) * | 1986-07-29 | 1988-10-25 | International Business Machines Corp. | Method for multiple programs management within a network having a server computer and a plurality of remote computers |
DE68922460T2 (en) * | 1988-11-01 | 1996-02-15 | Asahi Chemical Ind | Thermoplastic polymer composition. |
US6682608B2 (en) * | 1990-12-18 | 2004-01-27 | Advanced Cardiovascular Systems, Inc. | Superelastic guiding member |
US5754207A (en) | 1992-08-12 | 1998-05-19 | Hewlett-Packard Company | Volume indicating ink reservoir cartridge system |
US5581555A (en) | 1993-09-17 | 1996-12-03 | Scientific-Atlanta, Inc. | Reverse path allocation and contention resolution scheme for a broadband communications system |
GB2297181B (en) | 1993-09-24 | 1997-11-05 | Oracle Corp | Method and apparatus for data replication |
JPH086854A (en) * | 1993-12-23 | 1996-01-12 | Unisys Corp | Outboard-file-cache external processing complex |
US5568605A (en) | 1994-01-13 | 1996-10-22 | International Business Machines Corporation | Resolving conflicting topology information |
US5692193A (en) * | 1994-03-31 | 1997-11-25 | Nec Research Institute, Inc. | Software architecture for control of highly parallel computer systems |
US6318850B1 (en) | 1995-12-04 | 2001-11-20 | Hewlett-Packard Company | Ink container refurbishment system |
US6017118A (en) | 1995-04-27 | 2000-01-25 | Hewlett-Packard Company | High performance ink container with efficient construction |
GB9600823D0 (en) * | 1996-01-16 | 1996-03-20 | British Telecomm | Distributed processing |
US5960087A (en) | 1996-07-01 | 1999-09-28 | Sun Microsystems, Inc. | Distributed garbage collection system and method |
FR2756070B1 (en) | 1996-11-18 | 1999-01-22 | Bull Sa | SYSTEM FOR MANAGING AND PROCESSING DISTRIBUTED OBJECT TRANSACTIONS AND METHOD IMPLEMENTED THEREWITH |
JPH10250104A (en) | 1997-03-12 | 1998-09-22 | Seiko Epson Corp | Ink cartridge for ink-jet type recording apparatus, and its manufacture |
US6633577B1 (en) | 1997-03-26 | 2003-10-14 | Nec Corporation | Handshaking circuit for resolving contention on a transmission medium regardless of its length |
US6048809A (en) * | 1997-06-03 | 2000-04-11 | Lear Automotive Dearborn, Inc. | Vehicle headliner formed of polyester fibers |
US6585359B1 (en) | 1997-06-04 | 2003-07-01 | Hewlett-Packard Development Company, L.P. | Ink container providing pressurized ink with ink level sensor |
US6010210A (en) | 1997-06-04 | 2000-01-04 | Hewlett-Packard Company | Ink container having a multiple function chassis |
US5913213A (en) | 1997-06-16 | 1999-06-15 | Telefonaktiebolaget L M Ericsson | Lingering locks for replicated data objects |
JP3586073B2 (en) * | 1997-07-29 | 2004-11-10 | 株式会社東芝 | Reference voltage generation circuit |
US6072953A (en) * | 1997-09-30 | 2000-06-06 | International Business Machines Corporation | Apparatus and method for dynamically modifying class files during loading for execution |
US6473773B1 (en) | 1997-12-24 | 2002-10-29 | International Business Machines Corporation | Memory management in a partially garbage-collected programming system |
US6449734B1 (en) | 1998-04-17 | 2002-09-10 | Microsoft Corporation | Method and system for discarding locally committed transactions to ensure consistency in a server cluster |
EP0969377B1 (en) | 1998-06-30 | 2009-01-07 | International Business Machines Corporation | Method of replication-based garbage collection in a multiprocessor system |
US6496871B1 (en) * | 1998-06-30 | 2002-12-17 | Nec Research Institute, Inc. | Distributed agent software system and method having enhanced process mobility and communication in a computer network |
JP2000094710A (en) | 1998-09-24 | 2000-04-04 | Seiko Epson Corp | Print head device, ink jet printer and ink cartridge |
US6460051B1 (en) | 1998-10-28 | 2002-10-01 | Starfish Software, Inc. | System and methods for synchronizing datasets in a communication environment having high-latency or other adverse characteristics |
US6266747B1 (en) | 1998-10-30 | 2001-07-24 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for writing data into data storage units |
US6578068B1 (en) * | 1999-08-31 | 2003-06-10 | Accenture Llp | Load balancer in environment services patterns |
GB9921720D0 (en) * | 1999-09-14 | 1999-11-17 | Tao Group Ltd | Loading object-oriented computer programs |
DE19961274C1 (en) * | 1999-12-18 | 2001-02-15 | Wella Ag | New 2,5-diamino-1-(N-aminophenyl)-aminomethyl-benzene derivatives are used in colorants for keratinous fibers e.g. human hair |
US20020161848A1 (en) | 2000-03-03 | 2002-10-31 | Willman Charles A. | Systems and methods for facilitating memory access in information management environments |
JP3416614B2 (en) | 2000-04-26 | 2003-06-16 | キヤノン株式会社 | Ink jet recording device |
US6922685B2 (en) * | 2000-05-22 | 2005-07-26 | Mci, Inc. | Method and system for managing partitioned data resources |
AU6778601A (en) * | 2000-06-26 | 2002-01-08 | International Business Machines Corporation | Data management application programming interface for a parallel file system |
US6826570B1 (en) * | 2000-07-18 | 2004-11-30 | International Business Machines Corporation | Dynamically switching between different types of concurrency control techniques to provide an adaptive access strategy for a parallel file system |
US6662359B1 (en) | 2000-07-20 | 2003-12-09 | International Business Machines Corporation | System and method for injecting hooks into Java classes to handle exception and finalization processing |
US6865585B1 (en) * | 2000-07-31 | 2005-03-08 | Microsoft Corporation | Method and system for multiprocessor garbage collection |
US6725014B1 (en) | 2000-08-17 | 2004-04-20 | Honeywell International, Inc. | Method and system for contention resolution in radio frequency identification systems |
AU2002232411A1 (en) * | 2000-11-28 | 2002-06-11 | Gregory L. Gingerich | A method and system for software and hardware multiplicity |
US6754859B2 (en) | 2001-01-03 | 2004-06-22 | Bull Hn Information Systems Inc. | Computer processor read/alter/rewrite optimization cache invalidate signals |
US7383329B2 (en) | 2001-02-13 | 2008-06-03 | Aventail, Llc | Distributed cache for state transfer operations |
EP1258359B1 (en) | 2001-05-17 | 2007-07-18 | Seiko Epson Corporation | Ink cartridge and ink jet record apparatus using the ink cartridge |
US20020194015A1 (en) * | 2001-05-29 | 2002-12-19 | Incepto Ltd. | Distributed database clustering using asynchronous transactional replication |
JP2003018204A (en) | 2001-07-02 | 2003-01-17 | Hitachi Ltd | Packet transfer device provided with flow detection function and flow management method |
ATE326348T1 (en) | 2001-10-05 | 2006-06-15 | Canon Kk | INK TANK, LIQUID SUPPLY DEVICE AND RECORDING DEVICE |
US20030097395A1 (en) * | 2001-11-16 | 2003-05-22 | Petersen Paul M. | Executing irregular parallel control structures |
US6668312B2 (en) * | 2001-12-21 | 2003-12-23 | Celoxica Ltd. | System, method, and article of manufacture for dynamically profiling memory transfers in a program |
US7249013B2 (en) * | 2002-03-11 | 2007-07-24 | University Of Southern California | Named entity translation |
US7231554B2 (en) | 2002-03-25 | 2007-06-12 | Availigent, Inc. | Transparent consistent active replication of multithreaded application programs |
US7024519B2 (en) | 2002-05-06 | 2006-04-04 | Sony Computer Entertainment Inc. | Methods and apparatus for controlling hierarchical cache memory |
TWI242131B (en) * | 2003-04-25 | 2005-10-21 | Via Networking Technologies In | Method and related circuit for increasing network transmission efficiency by speeding data updating rate of memory |
US20050010683A1 (en) | 2003-06-30 | 2005-01-13 | Prabhanjan Moleyar | Apparatus, system and method for performing table maintenance |
CN1275480C (en) * | 2003-07-31 | 2006-09-13 | 上海贝尔阿尔卡特股份有限公司 | Multi standard software radio (SDR) base band treating method |
US7549149B2 (en) * | 2003-08-21 | 2009-06-16 | International Business Machines Corporation | Automatic software distribution and installation in a multi-tiered computer network |
US7412580B1 (en) * | 2003-10-06 | 2008-08-12 | Sun Microsystems, Inc. | Concurrent incremental garbage collector with a card table summarizing modified reference locations |
US7275241B2 (en) * | 2003-11-21 | 2007-09-25 | International Business Machines Corporation | Dynamic instrumentation for a mixed mode virtual machine |
US7565653B2 (en) * | 2004-02-20 | 2009-07-21 | Sony Computer Entertainment Inc. | Methods and apparatus for processor task migration in a multi-processor system |
JP2005301590A (en) | 2004-04-09 | 2005-10-27 | Hitachi Ltd | Storage system and data copying method |
EP2341430A1 (en) | 2004-04-22 | 2011-07-06 | Waratek Pty Limited | Multiple computer architecture with synchronization |
US7639656B2 (en) | 2004-04-28 | 2009-12-29 | Symbol Technologies, Inc. | Protocol for communication between access ports and wireless switches |
US7149866B2 (en) * | 2004-06-04 | 2006-12-12 | International Business Machines Corporation | Free item distribution among multiple free lists during garbage collection for more efficient object allocation |
US20050289531A1 (en) | 2004-06-08 | 2005-12-29 | Daniel Illowsky | Device interoperability tool set and method for processing interoperability application specifications into interoperable application packages |
US7200734B2 (en) * | 2004-07-31 | 2007-04-03 | Hewlett-Packard Development Company, L.P. | Operating-system-transparent distributed memory |
US7225371B2 (en) * | 2004-08-03 | 2007-05-29 | International Business Machines Corporation | Method and apparatus for storing and retrieving multiple point-in-time consistent data sets |
US7590803B2 (en) * | 2004-09-23 | 2009-09-15 | Sap Ag | Cache eviction |
US7614045B2 (en) | 2004-09-24 | 2009-11-03 | Sap (Ag) | Sharing classes and class loaders |
US7437516B2 (en) | 2004-12-28 | 2008-10-14 | Sap Ag | Programming models for eviction policies |
US7712081B2 (en) * | 2005-01-19 | 2010-05-04 | International Business Machines Corporation | Using code motion and write and read delays to increase the probability of bug detection in concurrent systems |
US7581069B2 (en) | 2005-10-25 | 2009-08-25 | Waratek Pty Ltd. | Multiple computer system with enhanced memory clean up |
US7849369B2 (en) | 2005-10-25 | 2010-12-07 | Waratek Pty Ltd. | Failure resistant multiple computer system and method |
US7958322B2 (en) * | 2005-10-25 | 2011-06-07 | Waratek Pty Ltd | Multiple machine architecture with overhead reduction |
US7660960B2 (en) | 2005-10-25 | 2010-02-09 | Waratek Pty, Ltd. | Modified machine architecture with partial memory updating |
US7761670B2 (en) | 2005-10-25 | 2010-07-20 | Waratek Pty Limited | Modified machine architecture with advanced synchronization |
US8015236B2 (en) | 2005-10-25 | 2011-09-06 | Waratek Pty. Ltd. | Replication of objects having non-primitive fields, especially addresses |
US20070100828A1 (en) * | 2005-10-25 | 2007-05-03 | Holt John M | Modified machine architecture with machine redundancy |
US7245556B1 (en) | 2005-12-28 | 2007-07-17 | Sandisk Corporation | Methods for writing non-volatile memories for increased endurance |
US7500067B2 (en) | 2006-03-29 | 2009-03-03 | Dell Products L.P. | System and method for allocating memory to input-output devices in a multiprocessor computer system |
US7647454B2 (en) * | 2006-06-12 | 2010-01-12 | Hewlett-Packard Development Company, L.P. | Transactional shared memory system and method of control |
US20080120477A1 (en) * | 2006-10-05 | 2008-05-22 | Holt John M | Contention detection with modified message format |
US7962697B2 (en) * | 2006-10-05 | 2011-06-14 | Waratek Pty Limited | Contention detection |
WO2008040073A1 (en) * | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Contention resolution with counter rollover |
US20080140805A1 (en) * | 2006-10-05 | 2008-06-12 | Holt John M | Multiple network connections for multiple computers |
US20080130652A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Multiple communication networks for multiple computers |
WO2008040066A1 (en) | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Redundant multiple computer architecture |
US20080133689A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Silent memory reclamation |
AU2007304895A1 (en) | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Advanced contention detection |
US20080133692A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Multiple computer system with redundancy architecture |
WO2008040083A1 (en) * | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Adding one or more computers to a multiple computer system |
US20080140973A1 (en) | 2006-10-05 | 2008-06-12 | Holt John M | Contention detection with data consolidation |
US20100121935A1 (en) * | 2006-10-05 | 2010-05-13 | Holt John M | Hybrid replicated shared memory |
WO2008040063A1 (en) | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Multi-path switching networks |
US20080140970A1 (en) | 2006-10-05 | 2008-06-12 | Holt John M | Advanced synchronization and contention resolution |
US8090926B2 (en) * | 2006-10-05 | 2012-01-03 | Waratek Pty Ltd. | Hybrid replicated shared memory |
US20080114853A1 (en) * | 2006-10-05 | 2008-05-15 | Holt John M | Network protocol for network communications |
US20080126372A1 (en) * | 2006-10-05 | 2008-05-29 | Holt John M | Cyclic redundant multiple computer architecture |
WO2008040082A1 (en) * | 2006-10-05 | 2008-04-10 | Waratek Pty Limited | Multiple computer system with dual mode redundancy architecture |
US7739349B2 (en) | 2006-10-05 | 2010-06-15 | Waratek Pty Limited | Synchronization with partial memory replication |
US7852845B2 (en) * | 2006-10-05 | 2010-12-14 | Waratek Pty Ltd. | Asynchronous data transmission |
US20080120478A1 (en) | 2006-10-05 | 2008-05-22 | Holt John M | Advanced synchronization and contention resolution |
US8473564B2 (en) * | 2006-10-05 | 2013-06-25 | Waratek Pty Ltd. | Contention detection and resolution |
US20080133691A1 (en) * | 2006-10-05 | 2008-06-05 | Holt John M | Contention resolution with echo cancellation |
US20080140858A1 (en) * | 2006-10-05 | 2008-06-12 | Holt John M | Switch protocol for network communications |
US20080250221A1 (en) | 2006-10-09 | 2008-10-09 | Holt John M | Contention detection with data consolidation |
US8195749B2 (en) * | 2006-11-13 | 2012-06-05 | Bindu Rama Rao | Questionnaire server capable of providing questionnaires based on device capabilities |
US8316190B2 (en) | 2007-04-06 | 2012-11-20 | Waratek Pty. Ltd. | Computer architecture and method of operation for multi-computer distributed processing having redundant array of independent systems with replicated memory and code striping |
-
2005
- 2005-10-25 US US11/259,744 patent/US20060253844A1/en not_active Abandoned
- 2005-10-25 US US11/259,761 patent/US20060265704A1/en not_active Abandoned
- 2005-10-25 US US11/259,634 patent/US20060265703A1/en not_active Abandoned
- 2005-10-25 US US11/259,885 patent/US7788314B2/en active Active
- 2005-10-25 WO PCT/AU2005/001641 patent/WO2006110937A1/en active Application Filing
- 2005-10-25 US US11/259,762 patent/US8028299B2/en active Active
-
2006
- 2006-04-20 US US11/912,141 patent/US20090055603A1/en not_active Abandoned
- 2006-04-20 EP EP06721412A patent/EP1880303A4/en not_active Withdrawn
- 2006-04-20 WO PCT/AU2006/000532 patent/WO2006110957A1/en active Application Filing
-
2008
- 2008-12-19 US US12/340,303 patent/US20090198776A1/en not_active Abandoned
- 2008-12-23 US US12/343,419 patent/US7818296B2/en not_active Expired - Lifetime
-
2009
- 2009-03-02 US US12/396,446 patent/US7860829B2/en not_active Expired - Lifetime
-
2010
- 2010-06-22 US US12/820,758 patent/US20100262590A1/en not_active Abandoned
Patent Citations (74)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4300127A (en) * | 1978-09-27 | 1981-11-10 | Bernin Victor M | Solid state noncontacting keyboard employing a differential transformer element |
US4969092A (en) * | 1988-09-30 | 1990-11-06 | Ibm Corp. | Method for scheduling execution of distributed application programs at preset times in an SNA LU 6.2 network environment |
US5291597A (en) * | 1988-10-24 | 1994-03-01 | Ibm Corp | Method to provide concurrent execution of distributed application programs by a host computer and an intelligent work station on an SNA network |
US5214776A (en) * | 1988-11-18 | 1993-05-25 | Bull Hn Information Systems Italia S.P.A. | Multiprocessor system having global data replication |
US5568609A (en) * | 1990-05-18 | 1996-10-22 | Fujitsu Limited | Data processing system with path disconnection and memory access failure recognition |
US5488723A (en) * | 1992-05-25 | 1996-01-30 | Cegelec | Software system having replicated objects and using dynamic messaging, in particular for a monitoring/control installation of redundant architecture |
US5418966A (en) * | 1992-10-16 | 1995-05-23 | International Business Machines Corporation | Updating replicated objects in a plurality of memory partitions |
US5544345A (en) * | 1993-11-08 | 1996-08-06 | International Business Machines Corporation | Coherence controls for store-multiple shared data coordinated by cache directory entries in a shared electronic storage |
US5434994A (en) * | 1994-05-23 | 1995-07-18 | International Business Machines Corporation | System and method for maintaining replicated data coherency in a data processing system |
US6574628B1 (en) * | 1995-05-30 | 2003-06-03 | Corporation For National Research Initiatives | System for distributed task execution |
US5612865A (en) * | 1995-06-01 | 1997-03-18 | Ncr Corporation | Dynamic hashing method for optimal distribution of locks within a clustered system |
US6574674B1 (en) * | 1996-05-24 | 2003-06-03 | Microsoft Corporation | Method and system for managing data while sharing application programs |
US5802585A (en) * | 1996-07-17 | 1998-09-01 | Digital Equipment Corporation | Batched checking of shared memory accesses |
US6327630B1 (en) * | 1996-07-24 | 2001-12-04 | Hewlett-Packard Company | Ordered message reception in a distributed data processing system |
US6314558B1 (en) * | 1996-08-27 | 2001-11-06 | Compuware Corporation | Byte code instrumentation |
US6760903B1 (en) * | 1996-08-27 | 2004-07-06 | Compuware Corporation | Coordinated application monitoring in a distributed computing environment |
US6049809A (en) * | 1996-10-30 | 2000-04-11 | Microsoft Corporation | Replication optimization system and method |
US6148377A (en) * | 1996-11-22 | 2000-11-14 | Mangosoft Corporation | Shared memory computer networks |
US5918248A (en) * | 1996-12-30 | 1999-06-29 | Northern Telecom Limited | Shared memory control algorithm for mutual exclusion and rollback |
US6192514B1 (en) * | 1997-02-19 | 2001-02-20 | Unisys Corporation | Multicomputer system |
US6425016B1 (en) * | 1997-05-27 | 2002-07-23 | International Business Machines Corporation | System and method for providing collaborative replicated objects for synchronous distributed groupware applications |
US6324587B1 (en) * | 1997-12-23 | 2001-11-27 | Microsoft Corporation | Method, computer program product, and data structure for publishing a data object over a store and forward transport |
US6782492B1 (en) * | 1998-05-11 | 2004-08-24 | Nec Corporation | Memory error recovery method in a cluster computer and a cluster computer |
US6571278B1 (en) * | 1998-10-22 | 2003-05-27 | International Business Machines Corporation | Computer data sharing system and method for maintaining replica consistency |
US6163801A (en) * | 1998-10-30 | 2000-12-19 | Advanced Micro Devices, Inc. | Dynamic communication between computer processes |
US6757896B1 (en) * | 1999-01-29 | 2004-06-29 | International Business Machines Corporation | Method and apparatus for enabling partial replication of object stores |
US6389423B1 (en) * | 1999-04-13 | 2002-05-14 | Mitsubishi Denki Kabushiki Kaisha | Data synchronization method for maintaining and controlling a replicated data |
US6611955B1 (en) * | 1999-06-03 | 2003-08-26 | Swisscom Ag | Monitoring and testing middleware based application software |
US20030067912A1 (en) * | 1999-07-02 | 2003-04-10 | Andrew Mead | Directory services caching for network peer to peer service locator |
US6625751B1 (en) * | 1999-08-11 | 2003-09-23 | Sun Microsystems, Inc. | Software fault tolerant computer system |
US6370625B1 (en) * | 1999-12-29 | 2002-04-09 | Intel Corporation | Method and apparatus for lock synchronization in a microprocessor system |
US6823511B1 (en) * | 2000-01-10 | 2004-11-23 | International Business Machines Corporation | Reader-writer lock for multiprocessor systems |
US6775831B1 (en) * | 2000-02-11 | 2004-08-10 | Overture Services, Inc. | System and method for rapid completion of data processing tasks distributed on a network |
US20030005407A1 (en) * | 2000-06-23 | 2003-01-02 | Hines Kenneth J. | System and method for coordination-centric design of software systems |
US6668260B2 (en) * | 2000-08-14 | 2003-12-23 | Divine Technology Ventures | System and method of synchronizing replicated data |
US7058826B2 (en) * | 2000-09-27 | 2006-06-06 | Amphus, Inc. | System, architecture, and method for logical server and other network devices in a dynamically configurable multi-server network environment |
US6992601B2 (en) * | 2000-10-05 | 2006-01-31 | Elan Microelectronics Corporation | Input apparatus using multidimensional electrodes to define key functions and the encoding method thereof |
US7020736B1 (en) * | 2000-12-18 | 2006-03-28 | Redback Networks Inc. | Method and apparatus for sharing memory space across mutliple processing units |
US7031989B2 (en) * | 2001-02-26 | 2006-04-18 | International Business Machines Corporation | Dynamic seamless reconfiguration of executing parallel software |
US7082604B2 (en) * | 2001-04-20 | 2006-07-25 | Mobile Agent Technologies, Incorporated | Method and apparatus for breaking down computing tasks across a network of heterogeneous computer for parallel execution by utilizing autonomous mobile agents |
US20020199172A1 (en) * | 2001-06-07 | 2002-12-26 | Mitchell Bunnell | Dynamic instrumentation event trace system and methods |
US7047521B2 (en) * | 2001-06-07 | 2006-05-16 | Lynoxworks, Inc. | Dynamic instrumentation event trace system and methods |
US20030004924A1 (en) * | 2001-06-29 | 2003-01-02 | International Business Machines Corporation | Apparatus for database record locking and method therefor |
US6862608B2 (en) * | 2001-07-17 | 2005-03-01 | Storage Technology Corporation | System and method for a distributed shared memory |
US20030105816A1 (en) * | 2001-08-20 | 2003-06-05 | Dinkar Goswami | System and method for real-time multi-directional file-based data streaming editor |
US6968372B1 (en) * | 2001-10-17 | 2005-11-22 | Microsoft Corporation | Distributed variable synchronizer |
US7047341B2 (en) * | 2001-12-29 | 2006-05-16 | Lg Electronics Inc. | Multi-processing memory duplication system |
US6779093B1 (en) * | 2002-02-15 | 2004-08-17 | Veritas Operating Corporation | Control facility for processing in-band control messages during data replication |
US7010576B2 (en) * | 2002-05-30 | 2006-03-07 | International Business Machines Corporation | Efficient method of globalization and synchronization of distributed resources in distributed peer data processing environments |
US7206827B2 (en) * | 2002-07-25 | 2007-04-17 | Sun Microsystems, Inc. | Dynamic administration framework for server systems |
US20040073828A1 (en) * | 2002-08-30 | 2004-04-15 | Vladimir Bronstein | Transparent variable state mirroring |
US6954794B2 (en) * | 2002-10-21 | 2005-10-11 | Tekelec | Methods and systems for exchanging reachability information and for switching traffic between redundant interfaces in a network cluster |
US20040093588A1 (en) * | 2002-11-12 | 2004-05-13 | Thomas Gschwind | Instrumenting a software application that includes distributed object technology |
US20040158819A1 (en) * | 2003-02-10 | 2004-08-12 | International Business Machines Corporation | Run-time wait tracing using byte code insertion |
US20040163077A1 (en) * | 2003-02-13 | 2004-08-19 | International Business Machines Corporation | Apparatus and method for dynamic instrumenting of code to minimize system perturbation |
US20050039171A1 (en) * | 2003-08-12 | 2005-02-17 | Avakian Arra E. | Using interceptors and out-of-band data to monitor the performance of Java 2 enterprise edition (J2EE) applications |
US20050086384A1 (en) * | 2003-09-04 | 2005-04-21 | Johannes Ernst | System and method for replicating, integrating and synchronizing distributed information |
US20080072238A1 (en) * | 2003-10-21 | 2008-03-20 | Gemstone Systems, Inc. | Object synchronization in shared object space |
US20050108481A1 (en) * | 2003-11-17 | 2005-05-19 | Iyengar Arun K. | System and method for achieving strong data consistency |
US20060143350A1 (en) * | 2003-12-30 | 2006-06-29 | 3Tera, Inc. | Apparatus, method and system for aggregrating computing resources |
US20060020913A1 (en) * | 2004-04-23 | 2006-01-26 | Waratek Pty Limited | Multiple computer architecture with synchronization |
US20050257219A1 (en) * | 2004-04-23 | 2005-11-17 | Holt John M | Multiple computer architecture with replicated memory fields |
US20050262513A1 (en) * | 2004-04-23 | 2005-11-24 | Waratek Pty Limited | Modified computer architecture with initialization of objects |
US20050262313A1 (en) * | 2004-04-23 | 2005-11-24 | Waratek Pty Limited | Modified computer architecture with coordinated objects |
US20060242464A1 (en) * | 2004-04-23 | 2006-10-26 | Holt John M | Computer architecture and method of operation for multi-computer distributed processing and coordinated memory and asset handling |
US20060095483A1 (en) * | 2004-04-23 | 2006-05-04 | Waratek Pty Limited | Modified computer architecture with finalization of objects |
US20050240737A1 (en) * | 2004-04-23 | 2005-10-27 | Waratek (Australia) Pty Limited | Modified computer architecture |
US20060080389A1 (en) * | 2004-10-06 | 2006-04-13 | Digipede Technologies, Llc | Distributed processing system |
US20060167878A1 (en) * | 2005-01-27 | 2006-07-27 | International Business Machines Corporation | Customer statistics based on database lock use |
US20060253844A1 (en) * | 2005-04-21 | 2006-11-09 | Holt John M | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects |
US20060265704A1 (en) * | 2005-04-21 | 2006-11-23 | Holt John M | Computer architecture and method of operation for multi-computer distributed processing with synchronization |
US20060265705A1 (en) * | 2005-04-21 | 2006-11-23 | Holt John M | Computer architecture and method of operation for multi-computer distributed processing with finalization of objects |
US20060265703A1 (en) * | 2005-04-21 | 2006-11-23 | Holt John M | Computer architecture and method of operation for multi-computer distributed processing with replicated memory |
US20080189700A1 (en) * | 2007-02-02 | 2008-08-07 | Vmware, Inc. | Admission Control for Virtual Machine Cluster |
Non-Patent Citations (1)
Title |
---|
Strom, R.; Banavar, G.; Miller, K.; Prakash, A.; Ward, M.; , "Concurrency control and view notification algorithms for collaborative replicated objects," Computers, IEEE Transactions on , vol.47, no.4, pp.458-471, Apr 1998doi: 10.1109/12.675714 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7844665B2 (en) | 2004-04-23 | 2010-11-30 | Waratek Pty Ltd. | Modified computer architecture having coordinated deletion of corresponding replicated memory locations among plural computers |
US7860829B2 (en) | 2004-04-23 | 2010-12-28 | Waratek Pty Ltd. | Computer architecture and method of operation for multi-computer distributed processing with replicated memory |
Also Published As
Publication number | Publication date |
---|---|
US20090235034A1 (en) | 2009-09-17 |
WO2006110957A1 (en) | 2006-10-26 |
US8028299B2 (en) | 2011-09-27 |
US20060265703A1 (en) | 2006-11-23 |
WO2006110937A1 (en) | 2006-10-26 |
US20090235033A1 (en) | 2009-09-17 |
US7860829B2 (en) | 2010-12-28 |
US20060265704A1 (en) | 2006-11-23 |
US7818296B2 (en) | 2010-10-19 |
US7788314B2 (en) | 2010-08-31 |
EP1880303A4 (en) | 2008-12-31 |
US20060242464A1 (en) | 2006-10-26 |
US20090055603A1 (en) | 2009-02-26 |
US20060265705A1 (en) | 2006-11-23 |
EP1880303A1 (en) | 2008-01-23 |
US20100262590A1 (en) | 2010-10-14 |
US20060253844A1 (en) | 2006-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090198776A1 (en) | Computer architecture and method of operation for multi-computer distributed processing with initialization of objects | |
US7844665B2 (en) | Modified computer architecture having coordinated deletion of corresponding replicated memory locations among plural computers | |
EP1763774B1 (en) | Multiple computer architecture with replicated memory fields | |
US20050262513A1 (en) | Modified computer architecture with initialization of objects | |
US20060095483A1 (en) | Modified computer architecture with finalization of objects | |
US20060020913A1 (en) | Multiple computer architecture with synchronization | |
US7761670B2 (en) | Modified machine architecture with advanced synchronization | |
US7996627B2 (en) | Replication of object graphs | |
US20080140762A1 (en) | Job scheduling amongst multiple computers | |
US7660960B2 (en) | Modified machine architecture with partial memory updating | |
JP2009512030A (en) | Duplicate object graph | |
AU2005236085B2 (en) | Modified computer architecture with initialization of objects | |
WO2007041762A1 (en) | Modified machine architecture with partial memory updating | |
AU2006238334A1 (en) | Modified computer architecture for a computer to operate in a multiple computer system | |
AU2005236089A1 (en) | Multiple computer architecture with replicated memory fields | |
AU2005236088A1 (en) | Modified computer architecture with finalization of objects | |
AU2005236086A1 (en) | Multiple computer architecture with synchronization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |