United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7080431 VM asserts if specified size(x) in .ad is larger than emitted size
JDK-7080431 : VM asserts if specified size(x) in .ad is larger than emitted size

Details
Type:
Bug
Submit Date:
2011-08-18
Status:
Closed
Updated Date:
2011-11-25
Project Name:
JDK
Resolved Date:
2011-09-30
Component:
hotspot
OS:
generic
Sub-Component:
compiler
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs22
Fixed Versions:
hs22 (b02)

Related Reports
Backport:
Relates:

Sub Tasks

Description
It was allowed to specify larger size(x) in mach node definition in .ad file than actual emitted instruction size. It was treated as upper bound on instruction size. 7063629 changes broke that, it requires size(x) in mach node definition match the emitted size which reduced flexibility in C2 development.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/739a9abbbd4b
                                     
2011-08-18
PUBLIC COMMENTS

It was allowed to specify larger size(x) in mach node definition in .ad file than actual emitted instruction size. It was treated as upper bound on instruction size. 7063629 changes broke that, it requires size(x) in mach node definition match the emitted size which reduced flexibility in C2 development.

Move code from finalize_offsets_and_shorten() to fill_buffer() to restore previous behavior.

Also move call to mcall->size(_regalloc) after mcall->method_set(mcall->entry_point()) since destination could be far and requires more code.
                                     
2011-08-18
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/739a9abbbd4b
                                     
2011-08-23
EVALUATION

See main CR
                                     
2011-09-12



Hardware and Software, Engineered to Work Together