8033577: [parfait] warnings from b128 for hotspot/src/os/solaris/dtrace: Unportable format string argument mismatch
Reduce the warnings Reviewed-by: sla, dsamersoff, coleenp
This commit is contained in:
parent
a53e8f36c1
commit
6ee89e55d5
@ -108,7 +108,7 @@ StubQueue* AbstractInterpreter::_code = NULL;
|
|||||||
#define GEN_SIZE(Type) \
|
#define GEN_SIZE(Type) \
|
||||||
switch(gen_variant) { \
|
switch(gen_variant) { \
|
||||||
case GEN_OFFSET: \
|
case GEN_OFFSET: \
|
||||||
printf("#define SIZE_%-35s %ld\n", \
|
printf("#define SIZE_%-35s %ld\n", \
|
||||||
#Type, sizeof(Type)); \
|
#Type, sizeof(Type)); \
|
||||||
break; \
|
break; \
|
||||||
case GEN_INDEX: \
|
case GEN_INDEX: \
|
||||||
@ -228,10 +228,10 @@ int generateJvmOffsets(GEN_variant gen_variant) {
|
|||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
GEN_OFFS(Method, _constMethod);
|
GEN_OFFS(Method, _constMethod);
|
||||||
GEN_OFFS(Method, _constants);
|
|
||||||
GEN_OFFS(Method, _access_flags);
|
GEN_OFFS(Method, _access_flags);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
|
GEN_OFFS(ConstMethod, _constants);
|
||||||
GEN_OFFS(ConstMethod, _flags);
|
GEN_OFFS(ConstMethod, _flags);
|
||||||
GEN_OFFS(ConstMethod, _code_size);
|
GEN_OFFS(ConstMethod, _code_size);
|
||||||
GEN_OFFS(ConstMethod, _name_index);
|
GEN_OFFS(ConstMethod, _name_index);
|
||||||
@ -264,7 +264,7 @@ int generateJvmOffsets(GEN_variant gen_variant) {
|
|||||||
|
|
||||||
GEN_OFFS(nmethod, _method);
|
GEN_OFFS(nmethod, _method);
|
||||||
GEN_OFFS(nmethod, _dependencies_offset);
|
GEN_OFFS(nmethod, _dependencies_offset);
|
||||||
GEN_OFFS(nmethod, _oops_offset);
|
GEN_OFFS(nmethod, _metadata_offset);
|
||||||
GEN_OFFS(nmethod, _scopes_data_offset);
|
GEN_OFFS(nmethod, _scopes_data_offset);
|
||||||
GEN_OFFS(nmethod, _scopes_pcs_offset);
|
GEN_OFFS(nmethod, _scopes_pcs_offset);
|
||||||
GEN_OFFS(nmethod, _handler_table_offset);
|
GEN_OFFS(nmethod, _handler_table_offset);
|
||||||
|
@ -85,7 +85,7 @@ StubQueue* AbstractInterpreter::_code = NULL;
|
|||||||
#define GEN_OFFS_NAME(Type,Name,OutputType) \
|
#define GEN_OFFS_NAME(Type,Name,OutputType) \
|
||||||
switch(gen_variant) { \
|
switch(gen_variant) { \
|
||||||
case GEN_OFFSET: \
|
case GEN_OFFSET: \
|
||||||
printf("#define OFFSET_%-33s %d\n", \
|
printf("#define OFFSET_%-33s %ld\n", \
|
||||||
#OutputType #Name, offset_of(Type, Name)); \
|
#OutputType #Name, offset_of(Type, Name)); \
|
||||||
break; \
|
break; \
|
||||||
case GEN_INDEX: \
|
case GEN_INDEX: \
|
||||||
@ -103,7 +103,7 @@ StubQueue* AbstractInterpreter::_code = NULL;
|
|||||||
#define GEN_SIZE(Type) \
|
#define GEN_SIZE(Type) \
|
||||||
switch(gen_variant) { \
|
switch(gen_variant) { \
|
||||||
case GEN_OFFSET: \
|
case GEN_OFFSET: \
|
||||||
printf("#define SIZE_%-35s %d\n", \
|
printf("#define SIZE_%-35s %ld\n", \
|
||||||
#Type, sizeof(Type)); \
|
#Type, sizeof(Type)); \
|
||||||
break; \
|
break; \
|
||||||
case GEN_INDEX: \
|
case GEN_INDEX: \
|
||||||
@ -211,7 +211,7 @@ int generateJvmOffsets(GEN_variant gen_variant) {
|
|||||||
GEN_OFFS(ConstantPool, _pool_holder);
|
GEN_OFFS(ConstantPool, _pool_holder);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
GEN_VALUE(OFFSET_HeapBlockHeader_used, offset_of(HeapBlock::Header, _used));
|
GEN_VALUE(OFFSET_HeapBlockHeader_used, (int) offset_of(HeapBlock::Header, _used));
|
||||||
GEN_OFFS(oopDesc, _metadata);
|
GEN_OFFS(oopDesc, _metadata);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
@ -275,7 +275,7 @@ int generateJvmOffsets(GEN_variant gen_variant) {
|
|||||||
GEN_OFFS(NarrowPtrStruct, _shift);
|
GEN_OFFS(NarrowPtrStruct, _shift);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
GEN_VALUE(SIZE_HeapBlockHeader, sizeof(HeapBlock::Header));
|
GEN_VALUE(SIZE_HeapBlockHeader, (int) sizeof(HeapBlock::Header));
|
||||||
GEN_SIZE(oopDesc);
|
GEN_SIZE(oopDesc);
|
||||||
GEN_SIZE(ConstantPool);
|
GEN_SIZE(ConstantPool);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user