Prepared by: | Goetz on Fri Apr 19 12:18:57 CEST 2013 |
---|---|
Workspace: | /net/usr.work/d045726/oJ/contribs/8003853-IC_stubs/main-hotspot |
Compare against: | http://hg.openjdk.java.net/hsx/hotspot-main/hotspot |
Compare against version: | 4448 |
Summary of changes: | 748 lines changed: 502 ins; 234 del; 12 mod; 40147 unchg |
Patch of changes: | main-hotspot.patch |
Legend: |
Modified file Deleted file New file |
Cdiffs
Udiffs
Wdiffs
Sdiffs
Frames
Old
New
Patch
Raw
src/cpu/sparc/vm/sparc.ad
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.50 lines changed: 0 ins; 47 del; 3 mod; 10904 unchg
Cdiffs
Udiffs
Wdiffs
Sdiffs
Frames
Old
New
Patch
Raw
src/cpu/x86/vm/x86_32.ad
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.39 lines changed: 0 ins; 37 del; 2 mod; 13134 unchg
Cdiffs
Udiffs
Wdiffs
Sdiffs
Frames
Old
New
Patch
Raw
src/cpu/x86/vm/x86_64.ad
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.44 lines changed: 0 ins; 42 del; 2 mod; 11671 unchg
Cdiffs
Udiffs
Wdiffs
Sdiffs
Frames
Old
New
Patch
Raw
src/share/vm/adlc/main.cpp
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.1 line changed: 1 ins; 0 del; 0 mod; 490 unchg
Cdiffs
Udiffs
Wdiffs
Sdiffs
Frames
Old
New
Patch
Raw
src/share/vm/code/compiledIC.cpp
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.107 lines changed: 0 ins; 106 del; 1 mod; 606 unchg
Cdiffs
Udiffs
Wdiffs
Sdiffs
Frames
Old
New
Patch
Raw
src/share/vm/code/compiledIC.hpp
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.5 lines changed: 5 ins; 0 del; 0 mod; 349 unchg
Cdiffs
Udiffs
Wdiffs
Sdiffs
Frames
Old
New
Patch
Raw
src/share/vm/opto/output.cpp
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.7 lines changed: 1 ins; 2 del; 4 mod; 2993 unchg
------ ------ ------
------
------
---
New
Patch
Raw
src/cpu/sparc/vm/compiledIC_sparc.cpp
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.193 lines changed: 193 ins; 0 del; 0 mod; 0 unchg
------ ------ ------
------
------
---
New
Patch
Raw
src/cpu/x86/vm/compiledIC_x86.cpp
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.180 lines changed: 180 ins; 0 del; 0 mod; 0 unchg
------ ------ ------
------
------
---
New
Patch
Raw
src/cpu/zero/vm/compiledIC_zero.cpp
rev 4449 : 8003853: specify offset of IC load in java_to_interp stub If a compiled static call calls the interpreter, it jumps past a java_to_interp stub in the compiled code. Patching this call must find the load of the IC. So far the shared code assumed this is the first instruction in the stub. This might not be the case if, for example, the base of the constant table must be loaded as it happens on PPC. The position of the IC load is platform dependent, but used in shared code. To fix this, this change cleans up the code handling compiled static Java calls: - Methods using native instructions are moved from compiledIC.cpp to compiledIC_<cpu>.cpp With this the offset can be implemented platform dependent. - Methods emitting the stub moved from the ad file to this class. As a side effect this reduces redundancies in x86_64.ad and x86_32.ad. - We get rid of extern declarations in output.cpp. Now all code concerning CompiledStaticCalls is collected on one class, except for emitting the call itself. The PPC port needs not change shared code any more to implement them.122 lines changed: 122 ins; 0 del; 0 mod; 0 unchg
This code review page was prepared using /usr/local/bin/webrev.ksh (vers 23.18-hg).