Skip to content

Commit

Permalink
Custom true for level 1
Browse files Browse the repository at this point in the history
Signed-off-by: Theresa Mammarella <Theresa.T.Mammarella@ibm.com>
  • Loading branch information
theresa-m committed Oct 2, 2019
1 parent 745c358 commit ef81bf1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtime/bcutil/ROMClassBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ ROMClassBuilder::prepareAndLaydown( BufferManager *bufferManager, ClassFileParse
/* This assert will detect memory corruption when a new segment
* for the ROM class was allocated using maxRequiredSize.
*/
Trc_BCU_Assert_True(romSize <= maxRequiredSize);
Trc_BCU_Assert_True_Level1(romSize <= maxRequiredSize);

/*
* inform the allocator what the final ROMSize is
Expand Down
4 changes: 3 additions & 1 deletion runtime/bcutil/j9bcu.tdf
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ TraceEvent=Trc_BCU_createRomClassEndian_Subset Noenv Overhead=1 Level=3 Template
TraceAssert=Trc_BCU_Assert_ShouldNeverHappen NoEnv Overhead=1 Level=1 Assert="(0 /* Fatal verifier error */)"
TraceAssert=Trc_BCU_Assert_Equals NoEnv Overhead=1 Level=1 Assert="(P1 == P2)"
TraceAssert=Trc_BCU_Assert_NotEquals NoEnv Overhead=1 Level=1 Assert="(P1 != P2)"
TraceAssert=Trc_BCU_Assert_True NoEnv Overhead=1 Level=1 Assert="(P1)"
TraceAssert=Trc_BCU_Assert_True NoEnv Overhead=1 Level=3 Assert="(P1)"
TraceAssert=Trc_BCU_Assert_False NoEnv Overhead=1 Level=1 Assert="!(P1)"

TraceException=Trc_BCU_verifyCanonisizeAndCopyUTF8_FailedFirstByteZero Noenv Overhead=1 Level=10 Template="BCU j9bcutil_verifyCanonisizeAndCopyUTF8: failed because first byte is 0"
Expand Down Expand Up @@ -374,3 +374,5 @@ TraceException=Trc_BCU_j9bcutil_readClassFileBytes_MaxCPCount NoEnv Overhead=1 L
TraceException=Trc_BCU_internalDefineClass_orphanNotFound Overhead=1 Level=1 Template="orphan ROM class %p not found in table, table entry was %p"

TraceEvent=Trc_BCU_compareROMClassForEquality_event NoEnv Overhead=1 Level=7 Template="compareROMClassForEquality returns %d for class name '%.*s'"

TraceAssert=Trc_BCU_Assert_True_Level1 NoEnv Overhead=1 Level=1 Assert="(P1)"

0 comments on commit ef81bf1

Please sign in to comment.